mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Move qRegisterMetaType calls into initTestCase().
This commit is contained in:
@@ -28,9 +28,15 @@ class TestGroupModel : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void test();
|
||||
};
|
||||
|
||||
void TestGroupModel::initTestCase()
|
||||
{
|
||||
qRegisterMetaType<QModelIndex>("QModelIndex");
|
||||
}
|
||||
|
||||
void TestGroupModel::test()
|
||||
{
|
||||
Database* db = new Database();
|
||||
|
||||
Reference in New Issue
Block a user