summaryrefslogtreecommitdiffstats
path: root/gui/LabeledToolButton.cpp
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-10-29 12:47:14 +0000
committerSky <git@bunnies.cc>2013-10-29 12:47:14 +0000
commitac4af46aed54dd7c7bd47dfe9fed869d1a61f62f (patch)
tree6d3a8681edaec3fae85a353ec044f2e94d39cbf2 /gui/LabeledToolButton.cpp
parentb0ef429786bef64799d43f1ac502c139bbde8dc5 (diff)
downloadMultiMC-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/LabeledToolButton.cpp')
-rw-r--r--gui/LabeledToolButton.cpp2
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);
}