diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-10-30 18:54:52 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-10-31 11:34:46 +0100 |
commit | 29d362a6e08f28ac48e737510a17ae7b3b717850 (patch) | |
tree | 3c13d4cfc5c3bc619daad3f7f32ef3d94c0bc84d /launcher/Application.cpp | |
parent | b4be28b9bb29609212b398a5f46ee4dbc400cf2d (diff) | |
download | PrismLauncher-29d362a6e08f28ac48e737510a17ae7b3b717850.tar.gz PrismLauncher-29d362a6e08f28ac48e737510a17ae7b3b717850.tar.bz2 PrismLauncher-29d362a6e08f28ac48e737510a17ae7b3b717850.zip |
fix: do not trash instances in Flatpak
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r-- | launcher/Application.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp index c6814abf..0c370b42 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -1136,15 +1136,6 @@ std::vector<ITheme *> Application::getValidApplicationThemes() return ret; } -bool Application::isFlatpak() -{ - #ifdef Q_OS_LINUX - return QFile::exists("/.flatpak-info"); - #else - return false; - #endif -} - void Application::setApplicationTheme(const QString& name, bool initial) { auto systemPalette = qApp->palette(); |