forked from qt-creator/qt-creator
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:
@@ -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()
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user