Commit c5a43acf authored by Uli Schlachter's avatar Uli Schlachter Committed by Shawn Rutledge
Browse files

XCB: Don't override non-existent method when QT_NO_OPENGL


QBackingStore only has a toImage() method if OpenGL is enabled. I
noticed this because compilation failed for me, thanks to
Q_DECL_OVERRIDE.

qxcbbackingstore.h:60:12: error: ‘QImage QXcbBackingStore::toImage() const’ marked override, but does not override
     QImage toImage() const Q_DECL_OVERRIDE;

Change-Id: I6b45ef41c53d819d81fe657f26adc1f630fec6bb
Reviewed-by: default avatarJørgen Lind <jorgen.lind@theqtcompany.com>
parent 047848cb
No related merge requests found
Showing with 3 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment