diff options
author | hjk <[email protected]> | 2012-08-09 04:47:47 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2012-08-12 22:43:24 +0200 |
commit | e7fea1aa7a381ad4b649a97a33b668d021fd7878 (patch) | |
tree | 003db638d70f6d51d2dc1737bd2128b85455acd2 /src/plugins/debugger/debuggerplugin.cpp | |
parent | ac9458e664bb56e12b2fb712eecc2ae61bde550a (diff) |
debugger: streamline classical dumper setup
Remote dumpers are not used anymore, there's also no need to
have it in the engine base class anymore.
Change-Id: If0b6930b07e468d5973d848e02696bc5da40a197
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index f2b15d42e53..6cb43e7ebc3 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -795,7 +795,6 @@ public slots: const CPlusPlus::Snapshot &cppCodeModelSnapshot() const; - void showQtDumperLibraryWarning(const QString &details); DebuggerMainWindow *mainWindow() const { return m_mainWindow; } bool isDockVisible(const QString &objectName) const { return mainWindow()->isDockVisible(objectName); } @@ -2558,36 +2557,6 @@ void DebuggerPluginPrivate::showMessage(const QString &msg, int channel, int tim } } -void DebuggerPluginPrivate::showQtDumperLibraryWarning(const QString &details) -{ - QMessageBox dialog(mainWindow()); - QPushButton *qtPref = dialog.addButton(tr("Open Qt Options"), - QMessageBox::ActionRole); - QPushButton *helperOff = dialog.addButton(tr("Turn off Helper Usage"), - QMessageBox::ActionRole); - QPushButton *justContinue = dialog.addButton(tr("Continue Anyway"), - QMessageBox::AcceptRole); - dialog.setDefaultButton(justContinue); - dialog.setWindowTitle(tr("Debugging Helper Missing")); - dialog.setText(tr("The debugger could not load the debugging helper library.")); - dialog.setInformativeText(tr( - "The debugging helper is used to nicely format the values of some Qt " - "and Standard Library data types. " - "It must be compiled for each used Qt version separately. " - "In the Qt Creator Build and Run preferences page, select a Qt version, " - "expand the Details section and click Build All.")); - if (!details.isEmpty()) - dialog.setDetailedText(details); - dialog.exec(); - if (dialog.clickedButton() == qtPref) { - ICore::showOptionsDialog( - _(ProjectExplorer::Constants::PROJECTEXPLORER_SETTINGS_CATEGORY), - _(QtSupport::Constants::QTVERSION_SETTINGS_PAGE_ID)); - } else if (dialog.clickedButton() == helperOff) { - action(UseDebuggingHelpers)->setValue(qVariantFromValue(false), false); - } -} - void DebuggerPluginPrivate::createNewDock(QWidget *widget) { QDockWidget *dockWidget = @@ -2646,8 +2615,6 @@ static QString formatStartParameters(DebuggerStartParameters &sp) << sp.qmlServerPort << '\n'; if (!sp.remoteChannel.isEmpty()) { str << "Remote: " << sp.remoteChannel << '\n'; - if (!sp.remoteDumperLib.isEmpty()) - str << "Remote dumpers: " << sp.remoteDumperLib << '\n'; if (!sp.remoteSourcesDir.isEmpty()) str << "Remote sources: " << sp.remoteSourcesDir << '\n'; if (!sp.remoteMountPoint.isEmpty()) |