diff options
author | Sky <git@bunnies.cc> | 2013-10-29 12:47:14 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-10-29 12:47:14 +0000 |
commit | ac4af46aed54dd7c7bd47dfe9fed869d1a61f62f (patch) | |
tree | 6d3a8681edaec3fae85a353ec044f2e94d39cbf2 /gui | |
parent | b0ef429786bef64799d43f1ac502c139bbde8dc5 (diff) | |
download | MultiMC-ac4af46aed54dd7c7bd47dfe9fed869d1a61f62f.tar MultiMC-ac4af46aed54dd7c7bd47dfe9fed869d1a61f62f.tar.gz MultiMC-ac4af46aed54dd7c7bd47dfe9fed869d1a61f62f.tar.lz MultiMC-ac4af46aed54dd7c7bd47dfe9fed869d1a61f62f.tar.xz MultiMC-ac4af46aed54dd7c7bd47dfe9fed869d1a61f62f.zip |
Don't make LabeledToolButton selectable
Diffstat (limited to 'gui')
-rw-r--r-- | gui/LabeledToolButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/LabeledToolButton.cpp b/gui/LabeledToolButton.cpp index 677476b9..be84d1b7 100644 --- a/gui/LabeledToolButton.cpp +++ b/gui/LabeledToolButton.cpp @@ -20,7 +20,7 @@ LabeledToolButton::LabeledToolButton(QWidget * parent) m_label->setWordWrap(true); m_label->setMouseTracking(false); m_label->setAlignment(Qt::AlignCenter); - m_label->setTextInteractionFlags(Qt::TextSelectableByMouse); + m_label->setTextInteractionFlags(Qt::NoTextInteraction); // somehow, this makes word wrap work in the QLabel. yay. m_label->setMinimumWidth(100); } |