Changeset 10462


Ignore:
Timestamp:
Apr 10, 2010, 6:42:46 PM (11 years ago)
Author:
charles
Message:

(trunk qt) #2782 "Cannot copy/paste hash (among other fields) from QT4 torrent properties window" -- fixed in trunk for 2.00

Location:
trunk/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/squeezelabel.cc

    r8570 r10462  
    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
  • trunk/qt/squeezelabel.h

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