You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
phonon/0006-Add-missing-qdebug-ope...

32 lines
859 B

From 73b5d9628fa15890f78dec28653447596ab04539 Mon Sep 17 00:00:00 2001
From: Harald Sitter <sitter@kde.org>
Date: Mon, 11 Nov 2013 17:20:52 +0100
Subject: [PATCH 6/6] Add missing qdebug operator defintion.
BUG: 327455
FIXED-IN: 4.7.1
---
phonon/phononnamespace.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/phonon/phononnamespace.cpp b/phonon/phononnamespace.cpp
index cf1df73..275f4ea 100644
--- a/phonon/phononnamespace.cpp
+++ b/phonon/phononnamespace.cpp
@@ -167,6 +167,12 @@ namespace Phonon
return dbg.maybeSpace();
}
+ QDebug operator <<(QDebug dbg, const Phonon::CaptureCategory &category)
+ {
+ dbg.space() << categoryToString(category);
+ return dbg.maybeSpace();
+ }
+
QDebug operator <<(QDebug dbg, const Phonon::Capture::DeviceType &type)
{
switch (type) {
--
1.8.4.2