1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-08 22:07:53 +00:00

Mark override for virtual destructors

PR #19348.
This commit is contained in:
Chocobo1 2023-07-22 12:46:21 +08:00 committed by GitHub
parent c20a77aa77
commit 56c52af124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class MainWindow;
class IGUIApplication : public IApplication
{
public:
virtual ~IGUIApplication() = default;
~IGUIApplication() override = default;
virtual DesktopIntegration *desktopIntegration() = 0;
virtual MainWindow *mainWindow() = 0;

View File

@ -41,7 +41,7 @@ class PowerManagementInhibitor final : public QObject
public:
PowerManagementInhibitor(QObject *parent = nullptr);
virtual ~PowerManagementInhibitor() = default;
~PowerManagementInhibitor() override = default;
void requestIdle();
void requestBusy();