diff options
author | dada513 <dada513@protonmail.com> | 2022-03-31 16:11:04 +0200 |
---|---|---|
committer | dada513 <dada513@protonmail.com> | 2022-03-31 16:11:04 +0200 |
commit | 59b3e30821bd20a3dc9e9fe4617ffa461f3a89b8 (patch) | |
tree | 6b6481dd630d143358f28fe48da21a3a8b0c914e | |
parent | 954074942e6361223b0beee6eff16a73d2a936a7 (diff) | |
download | PrismLauncher-59b3e30821bd20a3dc9e9fe4617ffa461f3a89b8.tar.gz PrismLauncher-59b3e30821bd20a3dc9e9fe4617ffa461f3a89b8.tar.bz2 PrismLauncher-59b3e30821bd20a3dc9e9fe4617ffa461f3a89b8.zip |
Scrumplex moment
-rw-r--r-- | launcher/Application.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp index af1cfe85..91b7b82c 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -1143,8 +1143,7 @@ std::vector<ITheme *> Application::getValidApplicationThemes() bool Application::isFlatpak() { #ifdef Q_OS_LINUX - QFileInfo check_file("/.flatpak-info"); - return check_file.exists(); + return QFile::exists("/.flatpak-info"); #else return false; #endif |