Commit 088249ea authored by Kåre Särs's avatar Kåre Särs Committed by Christoph Cullmann
Browse files

GDB: Use debug-run theme icon in stead of custom icon

A bit sad to let this little bugger go. He has been with us for a long
time.

BUG: 444670
parent 2361af90
Pipeline #112600 passed with stage
in 4 minutes and 9 seconds
......@@ -3,7 +3,4 @@
<qresource prefix="/kxmlgui5/kategdb">
<file>ui.rc</file>
</qresource>
<qresource prefix="/kategdb">
<file>22-actions-debug-kategdb.png</file>
</qresource>
</RCC>
......@@ -72,13 +72,13 @@ KatePluginGDBView::KatePluginGDBView(KTextEditor::Plugin *plugin, KTextEditor::M
m_toolView.reset(m_mainWin->createToolView(plugin,
i18n("Debug View"),
KTextEditor::MainWindow::Bottom,
QIcon(QStringLiteral(":/kategdb/22-actions-debug-kategdb.png")),
QIcon::fromTheme(QStringLiteral("debug-run")),
i18n("Debug View")));
m_localsStackToolView.reset(m_mainWin->createToolView(plugin,
i18n("Locals and Stack"),
KTextEditor::MainWindow::Right,
QIcon(QStringLiteral(":/kategdb/22-actions-debug-kategdb.png")),
QIcon::fromTheme(QStringLiteral("debug-run")),
i18n("Locals and Stack")));
m_tabWidget = new QTabWidget(m_toolView.get());
......@@ -200,7 +200,7 @@ KatePluginGDBView::KatePluginGDBView(KTextEditor::Plugin *plugin, KTextEditor::M
QAction *a = actionCollection()->addAction(QStringLiteral("debug"));
a->setText(i18n("Start Debugging"));
a->setIcon(QIcon(QStringLiteral(":/kategdb/22-actions-debug-kategdb.png")));
a->setIcon(QIcon::fromTheme(QStringLiteral("debug-run")));
connect(a, &QAction::triggered, this, &KatePluginGDBView::slotDebug);
a = actionCollection()->addAction(QStringLiteral("kill"));
......
Markdown is supported
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