Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
b4dab69f
Commit
b4dab69f
authored
Jul 02, 2020
by
Tomaz Canabrava
Browse files
Clear Mainwindow out of Qt4 style connects
parent
d07af953
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MainWindow.cpp
View file @
b4dab69f
...
...
@@ -344,16 +344,16 @@ void MainWindow::setupActions()
&
Konsole
::
MainWindow
::
openUrls
);
// Settings Menu
_toggleMenuBarAction
=
KStandardAction
::
showMenubar
(
menuBar
(),
SLOT
(
setVisible
(
bool
))
,
collection
);
_toggleMenuBarAction
=
KStandardAction
::
showMenubar
(
menuBar
(),
&
QMenuBar
::
setVisible
,
collection
);
collection
->
setDefaultShortcut
(
_toggleMenuBarAction
,
Konsole
::
ACCEL
+
Qt
::
SHIFT
+
Qt
::
Key_M
);
// Full Screen
menuAction
=
KStandardAction
::
fullScreen
(
this
,
SLOT
(
viewFullScreen
(
bool
))
,
this
,
collection
);
menuAction
=
KStandardAction
::
fullScreen
(
this
,
&
MainWindow
::
viewFullScreen
,
this
,
collection
);
collection
->
setDefaultShortcut
(
menuAction
,
Qt
::
Key_F11
);
KStandardAction
::
configureNotifications
(
this
,
SLOT
(
configureNotifications
())
,
collection
);
KStandardAction
::
keyBindings
(
this
,
SLOT
(
showShortcutsDialog
())
,
collection
);
KStandardAction
::
preferences
(
this
,
SLOT
(
showSettingsDialog
())
,
collection
);
KStandardAction
::
configureNotifications
(
this
,
&
MainWindow
::
configureNotifications
,
collection
);
KStandardAction
::
keyBindings
(
this
,
&
MainWindow
::
showShortcutsDialog
,
collection
);
KStandardAction
::
preferences
(
this
,
&
MainWindow
::
showSettingsDialog
,
collection
);
menuAction
=
collection
->
addAction
(
QStringLiteral
(
"manage-profiles"
));
menuAction
->
setText
(
i18nc
(
"@action:inmenu"
,
"Manage Profiles..."
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment