diff --git a/shell/sessioncontroller.cpp b/shell/sessioncontroller.cpp --- a/shell/sessioncontroller.cpp +++ b/shell/sessioncontroller.cpp @@ -131,7 +131,7 @@ qsrand(QDateTime::currentDateTimeUtc().toTime_t()); Session* session = new Session( QUuid::createUuid().toString() ); - KProcess::startDetached(ShellExtension::getInstance()->binaryPath(), QStringList() << QStringLiteral("-s") << session->id().toString() << standardArguments()); + KProcess::startDetached(ShellExtension::getInstance()->executableFilePath(), QStringList() << QStringLiteral("-s") << session->id().toString() << standardArguments()); delete session; #if 0 //Terminate this instance of kdevelop if the user agrees @@ -167,7 +167,7 @@ bool loadSessionExternally( Session* s ) { Q_ASSERT( s ); - KProcess::startDetached(ShellExtension::getInstance()->binaryPath(), QStringList() << QStringLiteral("-s") << s->id().toString() << standardArguments()); + KProcess::startDetached(ShellExtension::getInstance()->executableFilePath(), QStringList() << QStringLiteral("-s") << s->id().toString() << standardArguments()); return true; } diff --git a/shell/shellextension.h b/shell/shellextension.h --- a/shell/shellextension.h +++ b/shell/shellextension.h @@ -52,8 +52,8 @@ @endcode*/ static ShellExtension *getInstance(); - /**Reimplement to return the path to the binary that needs to be executed for new sessions.*/ - virtual QString binaryPath() = 0; + /**Reimplement to return the path to the executable that needs to be executed for new sessions.*/ + virtual QString executableFilePath() = 0; /**Reimplement to return the name of KXMLGUI resource file for an application.*/ virtual QString xmlFile() = 0; diff --git a/tests/autotestshell.h b/tests/autotestshell.h --- a/tests/autotestshell.h +++ b/tests/autotestshell.h @@ -51,7 +51,7 @@ explicit AutoTestShell(const QStringList& plugins); QString xmlFile() override { return QString(); } - QString binaryPath() override { return QString(); }; + QString executableFilePath() override { return QString(); }; QString defaultProfile() { return QStringLiteral("kdevtest"); } KDevelop::AreaParams defaultArea() override { KDevelop::AreaParams params;