Commit ee14fb96 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

gdbplugin: add missing branch for getting MarkInterfaceV2

Fixup for last commit
parent 1300078c
......@@ -462,7 +462,11 @@ void KatePluginGDBView::enableDebugActions(bool enable)
m_ioView->enableInput(!enable && m_debugView->debuggerRunning());
if ((m_lastExecLine > -1)) {
#if KTEXTEDITOR_VERSION >= QT_VERSION_CHECK(5,69,0)
KTextEditor::MarkInterfaceV2 *iface = qobject_cast<KTextEditor::MarkInterfaceV2 *>(m_kateApplication->findUrl(m_lastExecUrl));
#else
KTextEditor::MarkInterface *iface = qobject_cast<KTextEditor::MarkInterface *>(m_kateApplication->findUrl(m_lastExecUrl));
#endif
if (iface) {
if (enable) {
......
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