Fix Werror build regarding unused variable
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user