Scrumplex moment

This commit is contained in:
dada513 2022-03-31 16:11:04 +02:00
parent 954074942e
commit 59b3e30821
No known key found for this signature in database
GPG Key ID: 403448C14FA4B33E

View File

@ -1143,8 +1143,7 @@ std::vector<ITheme *> Application::getValidApplicationThemes()
bool Application::isFlatpak() bool Application::isFlatpak()
{ {
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX
QFileInfo check_file("/.flatpak-info"); return QFile::exists("/.flatpak-info");
return check_file.exists();
#else #else
return false; return false;
#endif #endif