mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Mark overridden methods to suppress warnings from clang
This commit is contained in:
parent
cea9c6cb93
commit
8a24db96f2
@ -36,13 +36,13 @@ public:
|
||||
explicit HeadlessIntegration(const QStringList ¶meters);
|
||||
~HeadlessIntegration();
|
||||
|
||||
bool hasCapability(QPlatformIntegration::Capability cap) const;
|
||||
QPlatformFontDatabase *fontDatabase() const;
|
||||
bool hasCapability(QPlatformIntegration::Capability cap) const override;
|
||||
QPlatformFontDatabase *fontDatabase() const override;
|
||||
|
||||
QPlatformWindow *createPlatformWindow(QWindow *window) const;
|
||||
QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const;
|
||||
QAbstractEventDispatcher *createEventDispatcher() const;
|
||||
QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const;
|
||||
QPlatformWindow *createPlatformWindow(QWindow *window) const override;
|
||||
QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const override;
|
||||
QAbstractEventDispatcher *createEventDispatcher() const override;
|
||||
QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const override;
|
||||
QStringList themeNames() const override;
|
||||
QPlatformTheme *createPlatformTheme(const QString &name) const override;
|
||||
|
||||
@ -50,7 +50,7 @@ public:
|
||||
|
||||
static HeadlessIntegration *instance();
|
||||
|
||||
virtual QPlatformServices *services() const { return platform_services.data(); }
|
||||
virtual QPlatformServices *services() const override { return platform_services.data(); }
|
||||
|
||||
private:
|
||||
QScopedPointer<QPlatformFontDatabase> m_fontDatabase;
|
||||
|
Loading…
x
Reference in New Issue
Block a user