File 0001-Make-KonsolePart-s-Manage-Profiles-dialog-name-uniqu.patch of Package konsole
From 0ae81deafda1179ed69850652f9131669050b0a9 Mon Sep 17 00:00:00 2001
From: Kurt Hindenburg <kurt.hindenburg@gmail.com>
Date: Mon, 5 Jun 2017 21:38:59 -0400
Subject: [PATCH] Make KonsolePart's 'Manage Profiles' dialog name unique
Using "settings" is too generic and clashes with yakuake's configure
dialog.
CCBUG: 360072
---
src/Part.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/Part.cpp b/src/Part.cpp
index e9fef7c6..8fae46e1 100644
--- a/src/Part.cpp
+++ b/src/Part.cpp
@@ -269,11 +269,12 @@ void Part::activeViewTitleChanged(ViewProperties* properties)
void Part::showManageProfilesDialog(QWidget* parent)
{
- if (KConfigDialog::showDialog(QStringLiteral("settings"))) {
+ // Make sure this string is unique among all users of this part
+ if (KConfigDialog::showDialog(QStringLiteral("konsolepartmanageprofiles"))) {
return;
}
- KConfigDialog *settingsDialog = new KConfigDialog(parent, QStringLiteral("settings"), KonsoleSettings::self());
+ KConfigDialog *settingsDialog = new KConfigDialog(parent, QStringLiteral("konsolepartmanageprofiles"), KonsoleSettings::self());
settingsDialog->setFaceType(KPageDialog::Tabbed);
auto profileSettings = new ProfileSettings(settingsDialog);
--
2.13.0