mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user