mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-01 12:34:12 +01:00
Prestium: remove temp detect
This commit is contained in:
@@ -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");
|
||||
}
|
||||
Reference in New Issue
Block a user