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

Commit

Permalink
Merge pull request #43 from anlambert/tulip-fix-qt4-build
Browse files Browse the repository at this point in the history
Fix Tulip build with Qt4
  • Loading branch information
bpinaud authored Jul 24, 2018
2 parents 6af70bd + 4ef1553 commit 3a9f37f
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 3a9f37f

Please sign in to comment.