indicator: move KDBusService::Unique call to make sure it works on Windows
... | ... | @@ -42,6 +42,8 @@ int main(int argc, char** argv) |
i18n("(C) 2016 Aleix Pol Gonzalez")); | ||
KAboutData::setApplicationData(about); | ||
KDBusService dbusService(KDBusService::Unique); | ||
|
||
// Trigger loading the KIconLoader plugin | ||
about.setProgramLogo(QIcon(QStringLiteral(":/icons/kdeconnect/kdeconnect.svg"))); | ||
... | ... | @@ -61,8 +63,6 @@ int main(int argc, char** argv) |
return -1; | ||
} | ||
KDBusService dbusService(KDBusService::Unique); | ||
DevicesModel model; | ||
model.setDisplayFilter(DevicesModel::Reachable | DevicesModel::Paired); | ||
QMenu* menu = new QMenu; | ||
... | ... |