aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authoraportale <[email protected]>2014-01-17 17:58:00 +0100
committerhjk <[email protected]>2014-01-20 13:50:49 +0100
commit25ab1199cde5c5590078ec882a76ae6260eca68b (patch)
tree15c6b183d2858f0fa9653297aeabd5ff22cb663c /src/plugins/debugger/debuggerplugin.cpp
parent83c61f2eaf1f790238689f8bb22a056a2490f961 (diff)
Debugger: Fix compilation for Qt4
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 3174e4d6101..02024db169b 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -2641,7 +2641,9 @@ QMessageBox *showMessageBox(int icon, const QString &title,
title, text, QMessageBox::StandardButtons(buttons),
ICore::mainWindow());
mb->setAttribute(Qt::WA_DeleteOnClose);
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
mb->setTextInteractionFlags(Qt::TextSelectableByMouse);
+#endif
mb->show();
return mb;
}