Commit fac8a8a0 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Fix compilation with Qt 5.0.0



Change-Id: If443079c66e9f0d1a9c203d2a41244b0fffdada4
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@digia.com>
parent f7daff90
......@@ -2641,7 +2641,7 @@ 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))
#if (QT_VERSION >= QT_VERSION_CHECK(5, 1, 0))
mb->setTextInteractionFlags(Qt::TextSelectableByMouse);
#endif
mb->show();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment