Skip to content

Commit

Permalink
Qt 5.3 doesn't support due date.
Browse files Browse the repository at this point in the history
It's lacking Calendar QtQuick Control
  • Loading branch information
iamsergio committed Mar 17, 2015
1 parent e7600dc commit a6506ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,10 @@ void Settings::setSupportsDueDate(bool supportsDueDate)

bool Settings::supportsDueDate() const
{
#if (QT_VERSION >= QT_VERSION_CHECK(5, 4, 0))
return m_supportsDueDate;
#else
// <= 5.3 doesn't support Calendar QtQuick control
return false;
#endif
}

0 comments on commit a6506ad

Please # to comment.