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.
plasma-desktop/0018-Don-t-overwrite-audio-...

28 lines
754 B

From 4b576cd02867672069c8077a43bb7caf442de8cc Mon Sep 17 00:00:00 2001
From: Bernie Innocenti <bernie@codewiz.org>
Date: Wed, 17 Jun 2015 10:26:46 -0700
Subject: [PATCH 18/18] Don't overwrite audio profile entries with same
priority
REVIEW: 124108
---
kcms/phonon/audiosetup.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kcms/phonon/audiosetup.h b/kcms/phonon/audiosetup.h
index dfb25bf..72fb2be 100644
--- a/kcms/phonon/audiosetup.h
+++ b/kcms/phonon/audiosetup.h
@@ -33,7 +33,7 @@ typedef struct {
quint32 index;
QString name;
QString icon;
- QMap<quint32, QPair<QString, QString> > profiles;
+ QMultiMap<quint32, QPair<QString, QString> > profiles;
QString activeProfile;
} cardInfo;
--
2.4.3