Skip to content
GitLab
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
8e2a5bb9
Commit
8e2a5bb9
authored
Aug 26, 2022
by
Waqar Ahmed
Browse files
Add tooltips to some git buttons
BUG: 451705
parent
010dd94c
Pipeline
#222713
passed with stage
in 10 minutes and 58 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
addons/project/kateprojectpluginview.cpp
View file @
8e2a5bb9
...
...
@@ -82,6 +82,7 @@ KateProjectPluginView::KateProjectPluginView(KateProjectPlugin *plugin, KTextEdi
m_reloadButton
=
new
QToolButton
(
m_toolView
);
m_reloadButton
->
setAutoRaise
(
true
);
m_reloadButton
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"view-refresh"
)));
m_reloadButton
->
setToolTip
(
i18n
(
"Reload project"
));
m_closeProjectButton
=
new
QToolButton
(
m_toolView
);
m_closeProjectButton
->
setAutoRaise
(
true
);
m_closeProjectButton
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
PROJECTCLOSEICON
)));
...
...
@@ -98,6 +99,7 @@ KateProjectPluginView::KateProjectPluginView(KateProjectPlugin *plugin, KTextEdi
m_gitStatusRefreshButton
=
new
QToolButton
(
m_gitToolView
.
get
());
m_gitStatusRefreshButton
->
setAutoRaise
(
true
);
m_gitStatusRefreshButton
->
setIcon
(
QIcon
::
fromTheme
(
QStringLiteral
(
"view-refresh"
)));
m_gitStatusRefreshButton
->
setToolTip
(
i18n
(
"Refresh git status"
));
layout
=
new
QHBoxLayout
();
layout
->
setSpacing
(
0
);
layout
->
addWidget
(
m_projectsComboGit
);
...
...
addons/project/kateprojectview.cpp
View file @
8e2a5bb9
...
...
@@ -80,6 +80,7 @@ KateProjectView::KateProjectView(KateProjectPluginView *pluginView, KateProject
bd
.
openDialog
();
});
currBranchAct
->
setIcon
(
KDE
::
icon
(
QStringLiteral
(
":/icons/icons/sc-apps-git.svg"
)));
currBranchAct
->
setToolTip
(
i18n
(
"Checkout branch"
));
m_branchBtn
->
setDefaultAction
(
currBranchAct
);
checkAndRefreshGit
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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