diff options
author | hjk <[email protected]> | 2021-06-17 17:25:38 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2021-06-22 08:57:28 +0000 |
commit | c0fe038f930d8913e0cd0cfda0b369f98d17988d (patch) | |
tree | 6a38c1f02f3edc9b6557d6a1915037596cbd8db0 /src/plugins/ios/iosrunner.cpp | |
parent | 193f485be2e5252f12ca9dcad2f31bdeef515d04 (diff) |
Utils: Simplify FilePath::toFileInfo().lastModified() calls
It's the same as FilePath::lastModified locally, and toFileInfo
doesn't work remotely. So it's overall at least not worse.
Change-Id: Ice8d80dcfd01dc38edc1dce2b53e1b5e6274380f
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosrunner.cpp')
-rw-r--r-- | src/plugins/ios/iosrunner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/ios/iosrunner.cpp b/src/plugins/ios/iosrunner.cpp index ffbd4f7f010..a2b57b941d1 100644 --- a/src/plugins/ios/iosrunner.cpp +++ b/src/plugins/ios/iosrunner.cpp @@ -473,8 +473,8 @@ void IosDebugSupport::start() QString bundlePath = iosRunConfig->bundleDirectory().toString(); bundlePath.chop(4); FilePath dsymPath = FilePath::fromString(bundlePath.append(".dSYM")); - if (dsymPath.exists() && dsymPath.toFileInfo().lastModified() - < QFileInfo(iosRunConfig->localExecutable().toUserOutput()).lastModified()) { + if (dsymPath.exists() + && dsymPath.lastModified() < iosRunConfig->localExecutable().lastModified()) { TaskHub::addTask(DeploymentTask(Task::Warning, tr("The dSYM %1 seems to be outdated, it might confuse the debugger.") .arg(dsymPath.toUserOutput()))); |