tst_QFont: remove unused static function
This function has been inlined in commit 4f50be8d
,
but wasn't removed.
Change-Id: I1a4eb7399ab2dd87a9fb15c4c886004d777487a8
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
This commit is contained in:
parent
9f598d5ee9
commit
a5578d216a
@ -535,20 +535,6 @@ void tst_QFont::insertAndRemoveSubstitutions()
|
||||
QVERIFY(QFont::substitutes("bogusfontfamily").isEmpty());
|
||||
}
|
||||
|
||||
static QFont copyFont(const QFont &font1) // copy using a QDataStream
|
||||
{
|
||||
QBuffer buffer;
|
||||
buffer.open(QIODevice::WriteOnly);
|
||||
QDataStream ds(&buffer);
|
||||
ds << font1;
|
||||
buffer.close();
|
||||
|
||||
buffer.open(QIODevice::ReadOnly);
|
||||
QFont font2;
|
||||
ds >> font2;
|
||||
return font2;
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(QDataStream::Version)
|
||||
|
||||
void tst_QFont::serialize_data()
|
||||
|
Loading…
Reference in New Issue
Block a user