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();