From 33ce9dd58c0e5c93c3f9406e66bd7106cbcf9e8e Mon Sep 17 00:00:00 2001 From: AngryFender Date: Wed, 11 Oct 2023 23:54:24 +0100 Subject: [PATCH] Github Issue #101: Fixed missing return bool type --- views_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views_handler.cpp b/views_handler.cpp index 1a79fe1..3caafe3 100644 --- a/views_handler.cpp +++ b/views_handler.cpp @@ -260,7 +260,7 @@ QString ViewsHandler::getFileContent(QFile& file) return content; } -void ViewsHandler::setCurrentDocument(const QFileInfo &fileInfo) +bool ViewsHandler::setCurrentDocument(const QFileInfo &fileInfo) { //disconnect signals from old current document disconnectDocument();