[SCM] ktp-contact-list packaging branch, master, updated. debian/16.04.2-1-16-g2a83db6
Maximiliano Curia
maxy at moszumanska.debian.org
Sat Sep 10 17:01:44 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=ec09594
The following commit has been merged in the master branch:
commit ec09594081d1b6556f1ab2f82ff5ea17b4de442f
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