From: tobtoht Date: Tue, 28 Feb 2023 01:34:56 +0000 (+0100) Subject: Prestium: remove temp detect X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=a88595b42ee3a25771b08c3b5213c1ad7ff21bf4;p=gamesguru%2Ffeather.git Prestium: remove temp detect --- diff --git a/src/utils/os/Prestium.cpp b/src/utils/os/Prestium.cpp index f1ef7919..80a58291 100644 --- a/src/utils/os/Prestium.cpp +++ b/src/utils/os/Prestium.cpp @@ -10,13 +10,5 @@ bool Prestium::detect() { - // Temporary detect - if (Utils::fileExists("/etc/hostname")) { - QByteArray data = Utils::fileOpen("/etc/hostname"); - if (data == "prestium\n") { - return true; - } - } - return QSysInfo::prettyProductName().contains("Prestium"); } \ No newline at end of file