Scrumplex moment
This commit is contained in:
parent
954074942e
commit
59b3e30821
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user