Gui: [skip ci] fix several warnings reported by GH Actions
This commit is contained in:
@@ -402,7 +402,7 @@ void TaskView::keyPressEvent(QKeyEvent* ke)
|
||||
Gui::Document* doc = Gui::Application::Instance->getDocument(ActiveDialog->getDocumentName().c_str());
|
||||
if (doc) {
|
||||
func->setFunction(std::bind(&Document::resetEdit, doc));
|
||||
QTimer::singleShot(0, func, SLOT(timeout()));
|
||||
func->singleShot(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user