From a88595b42ee3a25771b08c3b5213c1ad7ff21bf4 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Tue, 28 Feb 2023 02:34:56 +0100 Subject: [PATCH] Prestium: remove temp detect --- src/utils/os/Prestium.cpp | 8 -------- 1 file changed, 8 deletions(-) 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 -- 2.52.0