QtSql: fix GCC -Wextra-semi warnings after member function definitions
Change-Id: I5b65f543d7a36386181e493d8b9ce0267132d686 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> (cherry picked from commit 291c762802a2f5e1edb6bd9a842663ca5689323a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 149150ab47eb4e5924158e8e47aa71f3d6300c79)
This commit is contained in:
parent
3d68f8eafa
commit
209593aeba
@ -70,7 +70,7 @@ public:
|
||||
: QSqlField(fieldName, QMetaType(type), tableName)
|
||||
{}
|
||||
QT_DEPRECATED_VERSION_X_6_0("Use metaType() instead")
|
||||
QVariant::Type type() const { return QVariant::Type(metaType().id()); };
|
||||
QVariant::Type type() const { return QVariant::Type(metaType().id()); }
|
||||
QT_DEPRECATED_VERSION_X_6_0("Use setMetaType() instead")
|
||||
void setType(QVariant::Type type) { setMetaType(QMetaType(int(type))); }
|
||||
QT_WARNING_POP
|
||||
|
@ -33,7 +33,7 @@ public:
|
||||
cursor.swap(other.cursor);
|
||||
nm.swap(other.nm);
|
||||
sorts.swap(other.sorts);
|
||||
};
|
||||
}
|
||||
|
||||
void setCursorName(const QString &cursorName);
|
||||
inline QString cursorName() const { return cursor; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user