summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-07-10 19:59:28 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-07-10 20:00:31 +0200
commitdd0afbae63384a5748eb5a1d999707ae4cd99bfc (patch)
tree18c5bdb1056319523f781e17c6a10e20d749eae5 /media-video/kaffeine/files
parentdev-php/PEAR-Auth: New snapshot version from github (diff)
downloadgentoo-dd0afbae63384a5748eb5a1d999707ae4cd99bfc.tar.gz
gentoo-dd0afbae63384a5748eb5a1d999707ae4cd99bfc.tar.bz2
gentoo-dd0afbae63384a5748eb5a1d999707ae4cd99bfc.zip
media-video/kaffeine: 2.0.10 version bump
Reported-by: Manfred Knick <Manfred.Knick@T-Online.de> Gentoo-bug: 624452 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'media-video/kaffeine/files')
-rw-r--r--media-video/kaffeine/files/kaffeine-2.0.10-debug.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-video/kaffeine/files/kaffeine-2.0.10-debug.patch b/media-video/kaffeine/files/kaffeine-2.0.10-debug.patch
new file mode 100644
index 000000000000..97103b8e08e0
--- /dev/null
+++ b/media-video/kaffeine/files/kaffeine-2.0.10-debug.patch
@@ -0,0 +1,27 @@
+From 4200dec1afc04b1618b2e7ea916891103473a913 Mon Sep 17 00:00:00 2001
+From: Mauro Carvalho Chehab <mchehab@s-opensource.com>
+Date: Sun, 9 Jul 2017 11:59:21 -0300
+Subject: mainwindow: disable debug messages by default
+
+By default, debug messages shouldn't be displayed.
+
+Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
+---
+ src/mainwindow.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
+index c5ec7ac..7a18459 100644
+--- a/src/mainwindow.cpp
++++ b/src/mainwindow.cpp
+@@ -190,6 +190,8 @@ void MainWindow::run()
+ if (parser->isSet("debug")) {
+ QLoggingCategory::defaultCategory()->setEnabled(QtDebugMsg, true);
+ QLoggingCategory::setFilterRules(QStringLiteral(FILTER_RULE));
++ } else {
++ QLoggingCategory::setFilterRules(QStringLiteral("kaffeine.*.debug=false"));
+ }
+
+ readSettings();
+--
+cgit v0.11.2