[SCM] ktp-auth-handler packaging branch, master, updated. debian/16.04.2-1-45-g6ae4c33

Maximiliano Curia maxy at moszumanska.debian.org
Tue Sep 12 14:07:18 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-auth-handler.git;a=commitdiff;h=be85071

The following commit has been merged in the master branch:
commit be85071f0bb735e1b6ab90dcc0049db40cdc3fe8
Author: Alexandr Akulich <akulichalexander at gmail.com>
Date:   Sat Sep 24 17:28:31 2016 +0500

    Ported away from deprecated setProgramIconName()
    
    REVIEW: 129017
---
 main.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main.cpp b/main.cpp
index 2243100..f0468da 100644
--- a/main.cpp
+++ b/main.cpp
@@ -23,6 +23,7 @@
 #include <QApplication>
 #include <QDebug>
 #include <QCommandLineParser>
+#include <QIcon>
 
 #include <TelepathyQt/AccountFactory>
 #include <TelepathyQt/AccountManager>
@@ -53,7 +54,6 @@ int main(int argc, char *argv[])
     aboutData.addAuthor(i18n("David Edmundson"), i18n("Developer"), "kde at davidedmundson.co.uk");
     aboutData.addAuthor(i18n("Daniele E. Domenichelli"), i18n("Developer"), "daniele.domenichelli at gmail.com");
     aboutData.setProductName("telepathy/auth-handler");
-    aboutData.setProgramIconName(QLatin1String("telepathy-kde"));
 
     KAboutData::setApplicationData(aboutData);
 
@@ -75,6 +75,7 @@ int main(int argc, char *argv[])
     setenv("KDE_SESSION_VERSION", "5", 0);
 
     KTp::TelepathyHandlerApplication app(argc, argv);
+    QApplication::setWindowIcon(QIcon::fromTheme(QLatin1String("telepathy-kde")));
 
     // FIXME: Move this to tp-qt4 itself
     registerTypes();

-- 
ktp-auth-handler packaging



More information about the pkg-kde-commits mailing list