mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-19 12:14:37 -04:00
Move qRegisterMetaType calls into initTestCase().
This commit is contained in:
parent
36d974649e
commit
c93ac9f6fc
3 changed files with 17 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue