Remove all #if QT_VERSION who compare Qt version smaller than 5

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4100 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-08-11 08:46:49 +00:00
parent 3c9953bfe2
commit 5019919de0
4 changed files with 5 additions and 23 deletions

View File

@@ -506,12 +506,9 @@ void QETProject::setDefaultXRefProperties(const QString type, const XRefProperti
emit XRefPropertiesChanged();
}
void QETProject::setDefaultXRefProperties(QHash<QString, XRefProperties> hash) {
#if QT_VERSION >= 0x040800
void QETProject::setDefaultXRefProperties(QHash<QString, XRefProperties> hash)
{
m_default_xref_properties.swap(hash);
#else
m_default_xref_properties = hash;
#endif
emit XRefPropertiesChanged();
}