[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:27:57 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=101c741
The following commit has been merged in the master branch:
commit 101c7412661ee702c57fdfd75981afac1290290f
Author: Àlex Fiestas <afiestas at kde.org>
Date: Mon Sep 22 00:15:36 2014 +0200
Make sendfileitemaction ready for qCDebug
We are not using debug statements in this pluging, but for when we do
debugging will be ready.
---
fileitemactionplugin/sendfileitemaction.cpp | 3 ++-
fileitemactionplugin/sendfileitemaction.h | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/fileitemactionplugin/sendfileitemaction.cpp b/fileitemactionplugin/sendfileitemaction.cpp
index 57c5b66..f585f20 100644
--- a/fileitemactionplugin/sendfileitemaction.cpp
+++ b/fileitemactionplugin/sendfileitemaction.cpp
@@ -33,7 +33,6 @@
#include <KPluginFactory>
#include <KPluginLoader>
-#include <KDebug>
#include <KProcess>
#include <KLocalizedString>
#include <QUrl>
@@ -41,6 +40,8 @@
K_PLUGIN_FACTORY(SendFileItemActionFactory, registerPlugin<SendFileItemAction>();)
K_EXPORT_PLUGIN(SendFileItemActionFactory("SendFileItemAction", "kdeconnect-filetiemaction"))
+Q_LOGGING_CATEGORY(KDECONNECT_FILEITEMACTION, "kdeconnect.fileitemaction")
+
SendFileItemAction::SendFileItemAction(QObject* parent, const QVariantList& ): KFileItemActionPlugin(parent)
{
}
diff --git a/fileitemactionplugin/sendfileitemaction.h b/fileitemactionplugin/sendfileitemaction.h
index d5dd74b..07ee985 100644
--- a/fileitemactionplugin/sendfileitemaction.h
+++ b/fileitemactionplugin/sendfileitemaction.h
@@ -23,11 +23,13 @@
#include <kfileitemactionplugin.h>
#include <KFileItemListProperties>
+#include <QLoggingCategory>
class QAction;
class KFileItemListProperties;
class QWidget;
+Q_DECLARE_LOGGING_CATEGORY(KDECONNECT_FILEITEMACTION)
class SendFileItemAction : public KFileItemActionPlugin
{
Q_OBJECT
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list