Commit e8dbf1e4 authored by Alessandro Portale's avatar Alessandro Portale Committed by hjk
Browse files

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: default avatarhjk <hjk121@nokiamail.com>
parent 61b0aacb
......@@ -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;
}
......
Supports Markdown
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