Fix compiler warning about unused variable

showTaskInEditor is a static method by now.

Change-Id: I9192a6c1223fdd7933b9d02da9aa3952dc4933cd
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Kai Koehne
2013-08-22 13:25:27 +02:00
committed by Tobias Hunger
parent ba73ca095d
commit b8bd672365

View File

@@ -89,8 +89,7 @@ protected:
{
int line = cursorForPosition(ev->pos()).block().blockNumber();
if (unsigned taskid = m_taskids.value(line, 0)) {
TaskHub *hub = ExtensionSystem::PluginManager::getObject<TaskHub>();
hub->showTaskInEditor(taskid);
TaskHub::showTaskInEditor(taskid);
} else {
QPlainTextEdit::mouseDoubleClickEvent(ev);
}