From 9a8ca5135e0c2d44b3c0de28ebf02469475ff156 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Sun, 14 Aug 2022 19:38:51 +0100 Subject: [PATCH] Fix build --- tests/tst_docks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tst_docks.cpp b/tests/tst_docks.cpp index 069208b3..c44797f7 100644 --- a/tests/tst_docks.cpp +++ b/tests/tst_docks.cpp @@ -6262,7 +6262,7 @@ void TestDocks::tst_toggleTabbed() Controllers::TabBar *tb = group->tabBar(); QCOMPARE(tb->currentIndex(), 0); QCOMPARE(tb->numDockWidgets(), 1); - QCOMPARE(group->stack()->currentDockWidget(), dock1); + QCOMPARE(group->tabBar()->currentDockWidget(), dock1); QVERIFY(!dock0->isVisible()); QVERIFY(group->isVisible());