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
4541114f
Commit
4541114f
authored
Mar 18, 2021
by
Waqar Ahmed
Committed by
Christoph Cullmann
Mar 18, 2021
Browse files
Fix 'back' icons
(cherry picked from commit
121e142c
)
parent
2ceb62de
Changes
2
Hide whitespace changes
Inline
Side-by-side
addons/project/comarebranchesview.cpp
View file @
4541114f
...
...
@@ -134,7 +134,7 @@ CompareBranchesView::CompareBranchesView(QWidget *parent, const QString &gitPath
m_model
.
invisibleRootItem
()
->
appendColumn
(
root
->
takeColumn
(
0
));
m_backBtn
.
setText
(
i18n
(
"Back"
));
m_backBtn
.
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"
draw-arrow-back.svg
"
)));
m_backBtn
.
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"
go-previous
"
)));
connect
(
&
m_backBtn
,
&
QPushButton
::
clicked
,
this
,
&
CompareBranchesView
::
backClicked
);
layout
()
->
addWidget
(
&
m_backBtn
);
...
...
addons/project/filehistorywidget.cpp
View file @
4541114f
...
...
@@ -224,7 +224,7 @@ FileHistoryWidget::FileHistoryWidget(const QString &file, QWidget *parent)
setLayout
(
new
QVBoxLayout
);
m_backBtn
.
setText
(
i18n
(
"Back"
));
m_backBtn
.
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"
draw-arrow-back.svg
"
)));
m_backBtn
.
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"
go-previous
"
)));
connect
(
&
m_backBtn
,
&
QPushButton
::
clicked
,
this
,
&
FileHistoryWidget
::
backClicked
);
layout
()
->
addWidget
(
&
m_backBtn
);
...
...
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