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

Fix Tulip build with Qt4 #43

Merged
merged 1 commit into from
Jul 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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