~gerboland/qtubuntu/devicePixelRatio

« back to all changes in this revision

Viewing changes to src/ubuntumirclient/glcontext.h

  • Committer: CI Train Bot
  • Author(s): Albert Astals Cid
  • Date: 2015-11-17 14:49:30 UTC
  • mfrom: (280.5.3 clazy_run)
  • Revision ID: ci-train-bot@canonical.com-20151117144930-26q44qd460f3uowg
Improvements from running clazy over the code

* Add some missing overrides
* Wrap const char * into QStringLiteral
* Use new connect syntax
* Don't call data() on temporary QByteArray as it detaches

clazy: https://quickgit.kde.org/?p=clazy.git
Approved by: PS Jenkins bot, Gerry Boland

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    bool makeCurrent(QPlatformSurface* surface) override;
33
33
    void doneCurrent() override;
34
34
    bool isValid() const override { return mEglContext != EGL_NO_CONTEXT; }
35
 
    void (*getProcAddress(const QByteArray& procName)) ();
 
35
    void (*getProcAddress(const QByteArray& procName)) () override;
36
36
 
37
37
    EGLContext eglContext() const { return mEglContext; }
38
38