Changeset 10574


Ignore:
Timestamp:
May 1, 2010, 4:09:28 AM (11 years ago)
Author:
charles
Message:

(1.9x qt) backport r10462 for #2782 "copy/paste hash (and other fields) in Qt4 torrent properties window is broken"

Location:
branches/1.9x/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.9x/qt/squeezelabel.cc

    r8570 r10574  
    4242#include "squeezelabel.h"
    4343
     44void
     45SqueezeLabel::init()
     46{
     47    setTextInteractionFlags( Qt::TextSelectableByMouse );
     48}
     49
    4450SqueezeLabel::SqueezeLabel(const QString& text, QWidget *parent) : QLabel(text, parent)
    4551{
     52    init();
    4653}
    4754
    4855SqueezeLabel::SqueezeLabel(QWidget *parent) : QLabel(parent)
    4956{
     57    init();
    5058}
    5159
  • branches/1.9x/qt/squeezelabel.h

    r8570 r10574  
    5454
    5555protected:
     56    void init();
    5657    void paintEvent(QPaintEvent *event);
    5758
Note: See TracChangeset for help on using the changeset viewer.