[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/generic/dataengines/nowplaying
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2010-12-10 0:56:14
Message-ID: 20101210005614.289B6AC8A6 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1205012 by aseigo:
set the players source immediately; no need to check for it dynamically this way.
M +2 -3 nowplayingengine.cpp
--- trunk/KDE/kdebase/workspace/plasma/generic/dataengines/nowplaying/nowplayingengine.cpp \
#1205011:1205012 @@ -60,6 +60,8 @@
#ifdef XMMS_FOUND
pollingWatcher->addFactory(new XmmsFactory(pollingWatcher));
#endif
+
+ setData("players", QStringList());
}
Plasma::Service* NowPlayingEngine::serviceForSource(const QString& source)
@@ -103,9 +105,6 @@
" between 0 and 1, or -1 if \
unknown");
setData(source, "Artwork", "QPixmap - the album artwork, if \
available"); return true;
- } else if (source == "players") {
- setData(source, sources());
- return true;
}
return false;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic