Debugger: Make the text of error message box selectable

In some cases, it would be convenient if a text (e.g. a url)
was selectable via mouse in order to be copied.

Change-Id: Ifff27e10a70ee8efcae5073bfbe9225e39fb598f
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Alessandro Portale
2014-01-16 18:37:26 +01:00
committed by hjk
parent 61b0aacb12
commit e8dbf1e437

View File

@@ -2641,6 +2641,7 @@ QMessageBox *showMessageBox(int icon, const QString &title,
title, text, QMessageBox::StandardButtons(buttons),
ICore::mainWindow());
mb->setAttribute(Qt::WA_DeleteOnClose);
mb->setTextInteractionFlags(Qt::TextSelectableByMouse);
mb->show();
return mb;
}