comparison main/main.cpp @ 2121:0f5ff52655ec fix-static-analysis

Fixes from clang modernize-use-override
author Chris Cannam
date Thu, 22 Nov 2018 14:56:18 +0000
parents ed3f1b5094ad
children 0b15f3b16776
comparison
equal deleted inserted replaced
2120:295b6a146f1c 2121:0f5ff52655ec
202 m_readyForFiles(false), 202 m_readyForFiles(false),
203 m_filepathQueue(QStringList()), 203 m_filepathQueue(QStringList()),
204 m_mainWindow(0) 204 m_mainWindow(0)
205 { 205 {
206 } 206 }
207 virtual ~SVApplication() { } 207 ~SVApplication() override { }
208 208
209 void setMainWindow(MainWindow *mw) { m_mainWindow = mw; } 209 void setMainWindow(MainWindow *mw) { m_mainWindow = mw; }
210 void releaseMainWindow() { m_mainWindow = 0; } 210 void releaseMainWindow() { m_mainWindow = 0; }
211 211
212 virtual void commitData(QSessionManager &manager) { 212 virtual void commitData(QSessionManager &manager) {
222 bool m_readyForFiles; 222 bool m_readyForFiles;
223 QStringList m_filepathQueue; 223 QStringList m_filepathQueue;
224 224
225 protected: 225 protected:
226 MainWindow *m_mainWindow; 226 MainWindow *m_mainWindow;
227 bool event(QEvent *); 227 bool event(QEvent *) override;
228 }; 228 };
229 229
230 int 230 int
231 main(int argc, char **argv) 231 main(int argc, char **argv)
232 { 232 {