Commit 8e2a5bb9 authored by Waqar Ahmed's avatar 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
......@@ -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);
......
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment