Scrumplex moment
This commit is contained in:
parent
954074942e
commit
59b3e30821
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue