Add KDDockWidgets::initPlatform()
Instead of using the static variable, which is initialized before having QApplication. Will allow us to remove the QTimer from Platform init
This commit is contained in:
@@ -46,6 +46,9 @@ class TestDocks : public QObject
|
||||
public Q_SLOTS:
|
||||
void initTestCase()
|
||||
{
|
||||
// TODOv2
|
||||
KDDockWidgets::initFrontend(KDDockWidgets::FrontendType::QtWidgets);
|
||||
|
||||
qputenv("KDDOCKWIDGETS_SHOW_DEBUG_WINDOW", "");
|
||||
qApp->setOrganizationName("KDAB");
|
||||
qApp->setApplicationName("dockwidgets-unit-tests");
|
||||
|
||||
Reference in New Issue
Block a user