[SCM] ktp-contact-list packaging branch, master, updated. debian/16.04.2-1-51-g8ec8bc9

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


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=e054144

The following commit has been merged in the master branch:
commit e0541440b45fc5a53324bc764c1a99bc284fcaa5
Author: Martin Koller <kollix at aon.at>
Date:   Thu Aug 18 19:17:55 2016 +0200

    Avoid using QCoreApplication before it was created
    
    Do not use IconSize in a global constant since this would access
    QCoreApplication before it was created in main()
    
    REVIEW: 128711
---
 contact-overlays.cpp |  2 +-
 diff                 | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/contact-overlays.cpp b/contact-overlays.cpp
index e8604be..166030d 100644
--- a/contact-overlays.cpp
+++ b/contact-overlays.cpp
@@ -26,7 +26,7 @@
 
 #include <KTp/types.h>
 
-const int spacing = IconSize(KIconLoader::Dialog) / 8;
+#define spacing (IconSize(KIconLoader::Dialog) / 8)
 
 class GuiItemContactViewHoverButton : public ContactViewHoverButton
 {
diff --git a/diff b/diff
new file mode 100644
index 0000000..ab999c3
--- /dev/null
+++ b/diff
@@ -0,0 +1,13 @@
+diff --git a/contact-overlays.cpp b/contact-overlays.cpp
+index e8604be..166030d 100644
+--- a/contact-overlays.cpp
++++ b/contact-overlays.cpp
+@@ -26,7 +26,7 @@
+ 
+ #include <KTp/types.h>
+ 
+-const int spacing = IconSize(KIconLoader::Dialog) / 8;
++#define spacing (IconSize(KIconLoader::Dialog) / 8)
+ 
+ class GuiItemContactViewHoverButton : public ContactViewHoverButton
+ {

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list