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
Kate
Commits
29ba5b01
Commit
29ba5b01
authored
Sep 15, 2020
by
Ayushmaan jangid
Committed by
Christoph Cullmann
Sep 15, 2020
Browse files
Bug:426451
parent
21d0b10c
Changes
2
Hide whitespace changes
Inline
Side-by-side
kate/kateconfigdialog.cpp
View file @
29ba5b01
...
...
@@ -184,7 +184,7 @@ KateConfigDialog::KateConfigDialog(KateMainWindow *parent, KTextEditor::View *vi
// BEGIN Session page
QWidget
*
sessionsPage
=
new
QWidget
();
item
=
addSubPage
(
applicationItem
,
sessionsPage
,
i18n
(
"Session
s
"
));
item
=
addSubPage
(
applicationItem
,
sessionsPage
,
i18n
(
"Session"
));
item
->
setHeader
(
i18n
(
"Session Management"
));
item
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"view-history"
)));
...
...
kate/katemainwindow.cpp
View file @
29ba5b01
...
...
@@ -439,7 +439,7 @@ void KateMainWindow::setupActions()
// session actions
a
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"sessions_new"
));
a
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"document-new"
)));
a
->
setText
(
i18nc
(
"Menu entry Session->New
"
,
"&New
"
));
a
->
setText
(
i18nc
(
"Menu entry Session->New
Session"
,
"&New Session
"
));
// Qt::QueuedConnection to avoid deletion of code that is executed when reducing the amount of mainwindows. (bug #227008)
connect
(
a
,
&
QAction
::
triggered
,
KateApp
::
self
()
->
sessionManager
(),
&
KateSessionManager
::
sessionNew
,
Qt
::
QueuedConnection
);
a
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"sessions_save"
));
...
...
Write
Preview
Supports
Markdown
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