forked from qt-creator/qt-creator
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:
committed by
Tobias Hunger
parent
ba73ca095d
commit
b8bd672365
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user