Fix Werror build regarding unused variable

This commit is contained in:
Sergio Martins
2023-01-26 22:57:36 +00:00
parent 6f6679d6be
commit b0dfbc4486

View File

@@ -444,8 +444,6 @@ inline void dragFloatingWindowTo(FloatingWindow *fw, DropArea *target, DropLocat
inline EmbeddedWindow *createEmbeddedMainWindow(QSize sz)
{
static int count = 0;
count++;
// Tests a MainWindow which isn't a top-level window, but is embedded in another window
auto mainwindow = createMainWindow(QSize(600, 600), MainWindowOption_HasCentralFrame).release();