From 5c72467701096994ce9d1ccc6941d7af39496b0c Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Tue, 22 Oct 2019 17:20:45 +1300 Subject: [PATCH] Some minor cleaning up. --- src/plugins/miscellaneous/Core/src/centralwidget.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/plugins/miscellaneous/Core/src/centralwidget.h b/src/plugins/miscellaneous/Core/src/centralwidget.h index 22e3afdda9..305a688eaa 100644 --- a/src/plugins/miscellaneous/Core/src/centralwidget.h +++ b/src/plugins/miscellaneous/Core/src/centralwidget.h @@ -111,14 +111,13 @@ class CORE_EXPORT CentralWidget : public Widget QString openFile(const QString &pFileName, File::Type pType = File::Type::Local, - const QString &pUrl = QString(), - bool pShowWarning = true); + const QString &pUrl = QString(), bool pShowWarning = true); QString openRemoteFile(const QString &pUrl, bool pShowWarning = true); - bool canClose(); - bool closeFile(const QString &pFileName); + bool canClose(); + bool selectMode(const QString &pModeName); bool selectView(const QString &pViewName);