Prestium: remove temp detect

This commit is contained in:
tobtoht 2023-02-28 02:34:56 +01:00
parent b274c36002
commit a88595b42e
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -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");
}