From 67240aa6e89108715ffe43d307f8d204e752a64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Mon, 1 Feb 2021 12:58:07 -0300 Subject: [PATCH] LogDownloadController: Add missing const in member functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- src/AnalyzeView/LogDownloadController.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AnalyzeView/LogDownloadController.h b/src/AnalyzeView/LogDownloadController.h index b88f2f5..fcb9fd2 100644 --- a/src/AnalyzeView/LogDownloadController.h +++ b/src/AnalyzeView/LogDownloadController.h @@ -121,8 +121,8 @@ public: Q_PROPERTY(bool downloadingLogs READ downloadingLogs NOTIFY downloadingLogsChanged) QGCLogModel* model () { return &_logEntriesModel; } - bool requestingList () { return _requestingLogEntries; } - bool downloadingLogs () { return _downloadingLogs; } + bool requestingList () const{ return _requestingLogEntries; } + bool downloadingLogs () const{ return _downloadingLogs; } Q_INVOKABLE void refresh (); Q_INVOKABLE void download (QString path = QString());