diff --git a/src/about.cpp b/src/about.cpp index 31bc206..8b1c21c 100644 --- a/src/about.cpp +++ b/src/about.cpp @@ -90,8 +90,11 @@ bool About::isCutefishOS() QString About::version() { - QSettings settings("/etc/cutefish", QSettings::IniFormat); - return settings.value("Version").toString(); + if (this->isCutefishOS()) { + QSettings settings("/etc/cutefish", QSettings::IniFormat); + return settings.value("Version").toString(); + } + return this->prettyProductName(); } QString About::osName()