add windowIcon
to daemon for better support on Windows
This commit is contained in:
parent
16de0150ce
commit
607d643d8c
1 changed files with 5 additions and 1 deletions
|
@ -26,6 +26,8 @@
|
||||||
#include <QCommandLineParser>
|
#include <QCommandLineParser>
|
||||||
#include <QDBusMessage>
|
#include <QDBusMessage>
|
||||||
#include <QSessionManager>
|
#include <QSessionManager>
|
||||||
|
#include <QStandardPaths>
|
||||||
|
#include <QIcon>
|
||||||
|
|
||||||
#include <KAboutData>
|
#include <KAboutData>
|
||||||
#include <KDBusService>
|
#include <KDBusService>
|
||||||
|
@ -51,7 +53,9 @@ public:
|
||||||
DesktopDaemon(QObject* parent = nullptr)
|
DesktopDaemon(QObject* parent = nullptr)
|
||||||
: Daemon(parent)
|
: Daemon(parent)
|
||||||
, m_nam(nullptr)
|
, m_nam(nullptr)
|
||||||
{}
|
{
|
||||||
|
qApp->setWindowIcon(QIcon(QStandardPaths::locate(QStandardPaths::AppLocalDataLocation, QStringLiteral("icons/hicolor/scalable/apps/kdeconnect.svgz"))));
|
||||||
|
}
|
||||||
|
|
||||||
void askPairingConfirmation(Device* device) override
|
void askPairingConfirmation(Device* device) override
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue