mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: make qPref::registerQML() static
This member function does not access any other member of the object. Make it static. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
2ead52b139
commit
e9fa298d06
7 changed files with 8 additions and 8 deletions
|
@ -14,7 +14,7 @@ void TestQPrefGeneral::initTestCase()
|
|||
QCoreApplication::setOrganizationName("Subsurface");
|
||||
QCoreApplication::setOrganizationDomain("subsurface.hohndel.org");
|
||||
QCoreApplication::setApplicationName("SubsurfaceTestQPrefGeneral");
|
||||
qPref::instance()->registerQML(NULL);
|
||||
qPref::registerQML(NULL);
|
||||
}
|
||||
|
||||
void TestQPrefGeneral::test_struct_get()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue