forked from qt-creator/qt-creator
FilePath: Remove ::toDir() and deprecation hints
Change-Id: Ib561c019e3fd44cd85504ad4286eb3759ce19516 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -257,8 +257,7 @@ void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsComboBox()
|
||||
|
||||
static QString iconInsideResource(const QString &relativePathToIcon)
|
||||
{
|
||||
const QDir resourcePath(Core::ICore::resourcePath().toDir());
|
||||
return resourcePath.filePath(relativePathToIcon);
|
||||
return Core::ICore::resourcePath().resolvePath(relativePathToIcon).toString();
|
||||
}
|
||||
|
||||
void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsIconList()
|
||||
|
||||
Reference in New Issue
Block a user