diff options
| author | Alessandro Portale <alessandro.portale@qt.io> | 2020-11-18 15:26:38 +0100 |
|---|---|---|
| committer | Alessandro Portale <alessandro.portale@qt.io> | 2020-11-18 15:40:29 +0000 |
| commit | 30aec822852efd0f4792d1acf1f90f387dedeeb4 (patch) | |
| tree | 05b2c61067966d2afa67996909a9b7775f38495b /src/plugins/coreplugin/plugininstallwizard.cpp | |
| parent | e755094480b1775c2b7b794766a8170ae03c85f6 (diff) | |
| download | qt-creator-30aec822852efd0f4792d1acf1f90f387dedeeb4.tar.gz | |
Add missing "final" to unexported/unshared classes
Change-Id: I84d5fc39d7ef5588a20545854d0cfd0b993db090
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/plugininstallwizard.cpp')
| -rw-r--r-- | src/plugins/coreplugin/plugininstallwizard.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/coreplugin/plugininstallwizard.cpp b/src/plugins/coreplugin/plugininstallwizard.cpp index 59380bd191..6ca5443b80 100644 --- a/src/plugins/coreplugin/plugininstallwizard.cpp +++ b/src/plugins/coreplugin/plugininstallwizard.cpp @@ -130,7 +130,7 @@ public: emit completeChanged(); } - bool isComplete() const + bool isComplete() const final { const FilePath path = m_data->sourcePath; if (!QFile::exists(path.toString())) { @@ -148,7 +148,7 @@ public: return true; } - int nextId() const + int nextId() const final { if (hasLibSuffix(m_data->sourcePath)) return WizardPage::nextId() + 1; // jump over check archive @@ -192,7 +192,7 @@ public: vlayout->addWidget(m_output); } - void initializePage() + void initializePage() final { m_isComplete = false; emit completeChanged(); @@ -303,7 +303,7 @@ public: InfoLabel::Error}); } - void cleanupPage() + void cleanupPage() final { // back button pressed m_cancelButton->disconnect(); @@ -319,7 +319,7 @@ public: m_tempDir.reset(); } - bool isComplete() const { return m_isComplete; } + bool isComplete() const final { return m_isComplete; } std::unique_ptr<TemporaryDirectory> m_tempDir; Archive *m_archive = nullptr; @@ -402,7 +402,7 @@ public: vlayout->addWidget(m_summaryLabel); } - void initializePage() + void initializePage() final { m_summaryLabel->setText( PluginInstallWizard::tr("\"%1\" will be installed into \"%2\".") |
