Fixed warning and remove debug message

This commit is contained in:
Albert Vaca 2013-08-13 23:26:42 +02:00
parent 925e3abb3e
commit 16a18c3f30
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,6 @@ void ClipboardPlugin::clipboardChanged(QClipboard::Mode mode)
bool ClipboardPlugin::receivePackage(const NetworkPackage& np)
{
qDebug() << "AAAAAAAAAAAAAAAAAA";
if (np.type() == PACKAGE_TYPE_CLIPBOARD) {
ignore_next_clipboard_change = true;
clipboard->setText(np.get<QString>("content"));

View file

@ -83,7 +83,8 @@ void MprisControlPlugin::addPlayer(const QString& service)
void MprisControlPlugin::propertiesChanged(const QString& propertyInterface, const QVariantMap& properties)
{
Q_UNUSED(propertyInterface);
NetworkPackage np(PACKAGE_TYPE_MPRIS);
bool somethingToSend = false;
if (properties.contains("Volume")) {