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);
|
explicit HeadlessIntegration(const QStringList ¶meters);
|
||||||
~HeadlessIntegration();
|
~HeadlessIntegration();
|
||||||
|
|
||||||
bool hasCapability(QPlatformIntegration::Capability cap) const;
|
bool hasCapability(QPlatformIntegration::Capability cap) const override;
|
||||||
QPlatformFontDatabase *fontDatabase() const;
|
QPlatformFontDatabase *fontDatabase() const override;
|
||||||
|
|
||||||
QPlatformWindow *createPlatformWindow(QWindow *window) const;
|
QPlatformWindow *createPlatformWindow(QWindow *window) const override;
|
||||||
QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const;
|
QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const override;
|
||||||
QAbstractEventDispatcher *createEventDispatcher() const;
|
QAbstractEventDispatcher *createEventDispatcher() const override;
|
||||||
QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const;
|
QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const override;
|
||||||
QStringList themeNames() const override;
|
QStringList themeNames() const override;
|
||||||
QPlatformTheme *createPlatformTheme(const QString &name) const override;
|
QPlatformTheme *createPlatformTheme(const QString &name) const override;
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ public:
|
|||||||
|
|
||||||
static HeadlessIntegration *instance();
|
static HeadlessIntegration *instance();
|
||||||
|
|
||||||
virtual QPlatformServices *services() const { return platform_services.data(); }
|
virtual QPlatformServices *services() const override { return platform_services.data(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QScopedPointer<QPlatformFontDatabase> m_fontDatabase;
|
QScopedPointer<QPlatformFontDatabase> m_fontDatabase;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user