forked from qt-creator/qt-creator
Debugger: Move convenience function to only user
Change-Id: I50952521bdd45faa8a31da674e7ea5f0796d75d9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -2029,17 +2029,6 @@ void DebuggerPluginPrivate::remoteCommand(const QStringList &options)
|
||||
runScheduled();
|
||||
}
|
||||
|
||||
QMessageBox *showMessageBox(int icon, const QString &title, const QString &text, int buttons)
|
||||
{
|
||||
QMessageBox *mb = new QMessageBox(QMessageBox::Icon(icon),
|
||||
title, text, QMessageBox::StandardButtons(buttons),
|
||||
ICore::mainWindow());
|
||||
mb->setAttribute(Qt::WA_DeleteOnClose);
|
||||
mb->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||
mb->show();
|
||||
return mb;
|
||||
}
|
||||
|
||||
void addDebugInfoTask(unsigned id, const QString &cmd)
|
||||
{
|
||||
dd->m_debugInfoTaskHandler.addTask(id, cmd);
|
||||
|
||||
Reference in New Issue
Block a user