Commit b8bd6723 authored by Kai Koehne's avatar Kai Koehne Committed by Tobias Hunger
Browse files

Fix compiler warning about unused variable



showTaskInEditor is a static method by now.

Change-Id: I9192a6c1223fdd7933b9d02da9aa3952dc4933cd
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent ba73ca09
...@@ -89,8 +89,7 @@ protected: ...@@ -89,8 +89,7 @@ protected:
{ {
int line = cursorForPosition(ev->pos()).block().blockNumber(); int line = cursorForPosition(ev->pos()).block().blockNumber();
if (unsigned taskid = m_taskids.value(line, 0)) { if (unsigned taskid = m_taskids.value(line, 0)) {
TaskHub *hub = ExtensionSystem::PluginManager::getObject<TaskHub>(); TaskHub::showTaskInEditor(taskid);
hub->showTaskInEditor(taskid);
} else { } else {
QPlainTextEdit::mouseDoubleClickEvent(ev); QPlainTextEdit::mouseDoubleClickEvent(ev);
} }
......
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