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:
@@ -185,7 +185,7 @@ void PdbEngine::setupEngine()
|
||||
showMessage(_("ADAPTER START FAILED"));
|
||||
if (!msg.isEmpty()) {
|
||||
const QString title = tr("Adapter start failed");
|
||||
Core::ICore::instance()->showWarningWithOptions(title, msg);
|
||||
Core::ICore::showWarningWithOptions(title, msg);
|
||||
}
|
||||
notifyEngineSetupFailed();
|
||||
return;
|
||||
@@ -214,7 +214,7 @@ void PdbEngine::runEngine()
|
||||
QTC_ASSERT(state() == EngineRunRequested, qDebug() << state());
|
||||
showStatusMessage(tr("Running requested..."), 5000);
|
||||
const QByteArray dumperSourcePath =
|
||||
Core::ICore::instance()->resourcePath().toLocal8Bit() + "/dumper/";
|
||||
Core::ICore::resourcePath().toLocal8Bit() + "/dumper/";
|
||||
QString fileName = QFileInfo(startParameters().executable).absoluteFilePath();
|
||||
postDirectCommand("import sys");
|
||||
postDirectCommand("sys.argv.append('" + fileName.toLocal8Bit() + "')");
|
||||
|
||||
Reference in New Issue
Block a user