Fix compilation with Qt 5.0.0

Change-Id: If443079c66e9f0d1a9c203d2a41244b0fffdada4
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
Orgad Shaneh
2014-01-21 11:11:06 +02:00
committed by Orgad Shaneh
parent f7daff90fe
commit fac8a8a0dc

View File

@@ -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();