diff --git a/launcher/BaseInstance.cpp b/launcher/BaseInstance.cpp index 0080cc516..77b444329 100644 --- a/launcher/BaseInstance.cpp +++ b/launcher/BaseInstance.cpp @@ -446,7 +446,7 @@ QList BaseInstance::shortcuts() const QString shortcutName = dict["name"].toString(); QString filePath = dict["filePath"].toString(); - if (!QDir(filePath).exists()) { + if (!QFileInfo::exists(filePath)) { qWarning() << "Shortcut" << shortcutName << "for instance" << name() << "have non-existent path" << filePath; continue; }