1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

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

This commit is contained in:
Charles Kerr 2010-04-10 18:42:46 +00:00
parent 6b84271314
commit eb99be2194
2 changed files with 9 additions and 0 deletions

View file

@ -41,12 +41,20 @@
#include "squeezelabel.h"
void
SqueezeLabel::init()
{
setTextInteractionFlags( Qt::TextSelectableByMouse );
}
SqueezeLabel::SqueezeLabel(const QString& text, QWidget *parent) : QLabel(text, parent)
{
init();
}
SqueezeLabel::SqueezeLabel(QWidget *parent) : QLabel(parent)
{
init();
}
void SqueezeLabel::paintEvent(QPaintEvent *event)

View file

@ -53,6 +53,7 @@ public:
SqueezeLabel(const QString& text, QWidget *parent = 0);
protected:
void init();
void paintEvent(QPaintEvent *event);
};