diff options
author | aportale <[email protected]> | 2014-01-17 17:58:00 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2014-01-20 13:50:49 +0100 |
commit | 25ab1199cde5c5590078ec882a76ae6260eca68b (patch) | |
tree | 15c6b183d2858f0fa9653297aeabd5ff22cb663c /src/plugins/debugger/debuggerplugin.cpp | |
parent | 83c61f2eaf1f790238689f8bb22a056a2490f961 (diff) |
Debugger: Fix compilation for Qt4
Change-Id: Ibbde1aab3af5e5948ba2982ad795dae7ac38f509
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 2 |
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; } |