aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/jsonwizard
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-01-31 08:38:13 +0100
committerEike Ziller <eike.ziller@qt.io>2019-01-31 08:38:13 +0100
commit868160f215ea06d4dfbaf089fab03b066a9fef69 (patch)
treeded676351febfccb60e25603486bd06d0d89185b /src/plugins/projectexplorer/jsonwizard
parent54c2dff181b0900644e973fca1ebb21c862f124f (diff)
parentac382b68b7c67af45096cb590fc537b5794e8f27 (diff)
Merge remote-tracking branch 'origin/4.8'
Diffstat (limited to 'src/plugins/projectexplorer/jsonwizard')
-rw-r--r--src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp b/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp
index 890291f701..9a5947cdd1 100644
--- a/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp
+++ b/src/plugins/projectexplorer/jsonwizard/jsonwizard_test.cpp
@@ -248,10 +248,10 @@ void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsComboBox()
QCOMPARE(qPrintable(disabledComboBox->currentText()), "fgh");
}
-static const char *iconInsideResource(const QString &relativePathToIcon)
+static QString iconInsideResource(const QString &relativePathToIcon)
{
const QDir resourcePath(Core::ICore::resourcePath());
- return resourcePath.filePath(relativePathToIcon).toLocal8Bit().data();
+ return resourcePath.filePath(relativePathToIcon);
}
void ProjectExplorer::ProjectExplorerPlugin::testJsonWizardsIconList()