Remove two unneeded uses of ICore::instance()

The functions are static nowadays.

Change-Id: Ic6f6cb9c58319f3b33d8201aefb630b9381b2af3
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
hjk
2018-02-01 17:06:42 +01:00
parent d81580b7a3
commit 59d2505441
2 changed files with 2 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ bool AndroidBuildApkStep::init(QList<const BuildStep *> &earlierSteps)
void AndroidBuildApkStep::showInGraphicalShell()
{
Core::FileUtils::showInGraphicalShell(Core::ICore::instance()->mainWindow(), m_apkPath);
Core::FileUtils::showInGraphicalShell(Core::ICore::mainWindow(), m_apkPath);
}
ProjectExplorer::BuildStepConfigWidget *AndroidBuildApkStep::createConfigWidget()

View File

@@ -75,7 +75,7 @@ QStringList createClangOptions(const ProjectPart::Ptr &pPart, const QString &fil
static QString creatorResourcePath()
{
#ifndef UNIT_TESTS
return Core::ICore::instance()->resourcePath();
return Core::ICore::resourcePath();
#else
return QString();
#endif