mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-10-23 21:45:01 +00:00
removed checking playerName in getPlayerInfo()
This commit is contained in:
1 parent
2d0a92eec1
commit
5dfb02bf9d
3 files changed
+3
-7
No files matched your search
@@ -8,7 +8,7 @@ cmake_policy (SET CMP0015 NEW)
|
||||
project (pytextmonitor)
|
||||
set (PROJECT_VERSION_MAJOR 1)
|
||||
set (PROJECT_VERSION_MINOR 9)
|
||||
set (PROJECT_VERSION_PATCH 0)
|
||||
set (PROJECT_VERSION_PATCH 1)
|
||||
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
||||
|
||||
message (STATUS "Version: ${PROJECT_VERSION}")
|
||||
|
||||
@@ -266,10 +266,6 @@ QStringList ExtendedSysMon::getPlayerInfo(const QString playerName,
|
||||
info.append(QString("0"));
|
||||
// title
|
||||
info.append(QString("unknown"));
|
||||
if ((playerName != QString("amarok")) &&
|
||||
(playerName != QString("mpd")) &&
|
||||
(playerName != QString("qmmp")))
|
||||
return info;
|
||||
QProcess command;
|
||||
QString qoutput = QString("");
|
||||
QString qstr;
|
||||
|
||||
Reference in new issue
Block a user