forked from qt-creator/qt-creator
Use new static ICore interface.
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -4701,7 +4701,7 @@ void GdbEngine::loadInitScript()
|
||||
void GdbEngine::loadPythonDumpers()
|
||||
{
|
||||
const QByteArray dumperSourcePath =
|
||||
Core::ICore::instance()->resourcePath().toLocal8Bit() + "/dumper/";
|
||||
Core::ICore::resourcePath().toLocal8Bit() + "/dumper/";
|
||||
|
||||
postCommand("python execfile('" + dumperSourcePath + "bridge.py')",
|
||||
ConsoleCommand|NonCriticalResponse);
|
||||
@@ -4791,9 +4791,9 @@ void GdbEngine::handleAdapterStartFailed(const QString &msg,
|
||||
if (!msg.isEmpty()) {
|
||||
const QString title = tr("Adapter start failed");
|
||||
if (settingsIdHint.isEmpty()) {
|
||||
Core::ICore::instance()->showWarningWithOptions(title, msg);
|
||||
Core::ICore::showWarningWithOptions(title, msg);
|
||||
} else {
|
||||
Core::ICore::instance()->showWarningWithOptions(title, msg, QString(),
|
||||
Core::ICore::showWarningWithOptions(title, msg, QString(),
|
||||
_(Debugger::Constants::DEBUGGER_SETTINGS_CATEGORY), settingsIdHint);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user