Commit 6cade8ef authored by Ahmad Samir's avatar Ahmad Samir Committed by Kurt Hindenburg
Browse files

Remove method for hiding shortcut column in ProfileSettings

Konsole::Part was the only user of that method, but since 5168fa3c
this whole dialog can't be opened from the Part.
parent 0cf95671
Pipeline #215925 passed with stage
in 3 minutes and 10 seconds
......@@ -196,8 +196,3 @@ bool ProfileSettings::isProfileWritable(Profile::Ptr profile) const
return profile && !profile->isBuiltin() // Built-in profile is hardcoded and never stored.
&& QFileInfo(profile->path()).isWritable();
void ProfileSettings::setShortcutEditorVisible(bool visible)
profileListView->setColumnHidden(ProfileModel::SHORTCUT, !visible);
......@@ -43,17 +43,6 @@ public:
explicit ProfileSettings(QWidget *parent = nullptr);
~ProfileSettings() override;
* Specifies whether the shortcut editor should be show.
* The shortcut editor allows shortcuts to be associated with
* profiles. When a shortcut is changed, the dialog will call
* SessionManager::instance()->setShortcut() to update the shortcut
* associated with the profile.
* By default the editor is visible.
void setShortcutEditorVisible(bool visible);
private Q_SLOTS:
friend class MainWindow;
void slotAccepted();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment