Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
TulipFontIconEngine: Fix compilation with Qt4
Browse files Browse the repository at this point in the history
  • Loading branch information
anlambert committed Jul 24, 2018
1 parent 6af70bd commit 4ef1553
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/tulip-gui/include/tulip/TulipFontIconEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ class TLP_QT_SCOPE TulipFontIconEngine : public QIconEngine {
TulipFontIconEngine(const TulipFontIconEngine &engine)
: QIconEngine(), codePoint(engine.codePoint), fontName(engine.fontName) {}

#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
TulipFontIconEngine *clone() const override {
#else
TulipFontIconEngine *clone() const {
#endif
return new TulipFontIconEngine(*this);
}

Expand Down

0 comments on commit 4ef1553

Please sign in to comment.