From ff18f80419ecc6830bc8e5f3cc98c2980edab38f Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg 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 c5dcb8a8..f4204954 100644 --- a/src/Part.cpp +++ b/src/Part.cpp @@ -268,11 +268,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);