Mention possible locations of the debugging helper in the error dialog

Requires a lot of trivial forwarding.
This commit is contained in:
dt
2009-07-15 17:41:45 +02:00
parent 609e3c7f6b
commit 54bbcc4a7c
18 changed files with 94 additions and 6 deletions

View File

@@ -1004,6 +1004,11 @@ void DebuggerManager::setQtDumperLibraryName(const QString &dl)
m_dumperLib = dl;
}
void DebuggerManager::setQtDumperLibraryLocations(const QStringList &dl)
{
m_dumperLibLocations = dl;
}
qint64 DebuggerManager::inferiorPid() const
{
return m_inferiorPid;
@@ -1518,6 +1523,15 @@ QString DebuggerManager::qtDumperLibraryName() const
return m_dumperLib;
}
QStringList DebuggerManager::qtDumperLibraryLocations() const
{
if (theDebuggerAction(UseCustomDebuggingHelperLocation)->value().toBool())
return QStringList() <<
( theDebuggerAction(CustomDebuggingHelperLocation)->value().toString()
+ tr(" (explicitly set in the Debugger Options)"));
return m_dumperLibLocations;
}
void DebuggerManager::showQtDumperLibraryWarning(const QString &details)
{
QMessageBox dialog(mainWindow());