diff --git a/src/settings/ProfileSettings.cpp b/src/settings/ProfileSettings.cpp index 2c7e6b6d..fbad3a95 100644 --- a/src/settings/ProfileSettings.cpp +++ b/src/settings/ProfileSettings.cpp @@ -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); -} diff --git a/src/settings/ProfileSettings.h b/src/settings/ProfileSettings.h index b660deb1..b09ba056 100644 --- a/src/settings/ProfileSettings.h +++ b/src/settings/ProfileSettings.h @@ -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();