diff options
author | hjk <hjk@qt.io> | 2019-06-20 17:19:12 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-06-21 10:32:31 +0000 |
commit | 1396c6e8e99d69291117b31fe5d31636ff8831ff (patch) | |
tree | 01e7206aea1b889ae1d0b3e1d79dd6b666ef9018 /src/plugins/qmlprofiler | |
parent | 18eb0b39c517019c9fec711c055b5d42f20aae10 (diff) |
ProjectExplorer: Use Utils::FileName for Runnable::executable
Change-Id: I584bc18aa19a4c9886af7b13e95052dfd4350b34
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler')
-rw-r--r-- | src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp b/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp index e96f4da649..7fa1a6e34f 100644 --- a/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp +++ b/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp @@ -57,7 +57,7 @@ void LocalQmlProfilerRunnerTest::testRunner() int runCount = 0; int stopCount = 0; - debuggee.executable = "\\-/|\\-/"; + debuggee.executable = Utils::FilePath::fromString("\\-/|\\-/"); debuggee.environment = Utils::Environment::systemEnvironment(); // should not be used anywhere but cannot be empty @@ -110,7 +110,7 @@ void LocalQmlProfilerRunnerTest::testRunner() QVERIFY(profiler.isNull()); serverUrl = Utils::urlFromLocalSocket(); - debuggee.executable = qApp->applicationFilePath(); + debuggee.executable = Utils::FilePath::fromString(QCoreApplication::applicationFilePath()); // comma is used to specify a test function. In this case, an invalid one. debuggee.commandLineArguments = QString("-test QmlProfiler,"); |