diff options
author | hjk <hjk@qt.io> | 2019-09-19 16:41:14 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-09-25 08:06:03 +0000 |
commit | a82b40e037417300309942575f2fa0d4fca4460c (patch) | |
tree | 093ac5f7cb39612a9046c91621af16551e37e1b9 /src/plugins/debugger/debuggerplugin.cpp | |
parent | b63034b551f08ef3e1bf921b3c531e2ce65c266b (diff) |
Debugger: Move convenience function to only user
Change-Id: I50952521bdd45faa8a31da674e7ea5f0796d75d9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index b224572bba..50ac0504a7 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -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); |