diff --git a/src/AppGui.cpp b/src/AppGui.cpp index 88936d47..8de4046c 100755 --- a/src/AppGui.cpp +++ b/src/AppGui.cpp @@ -839,13 +839,6 @@ void AppGui::createMainWindow() win = new MainWindow(wsClient, dbMasterController); -#ifdef Q_OS_UNIX - // Force resize and reset maximumWidth - // This fixes a crash on some Gnome+Wayland platforms - win->resize(0,0); - win->setMaximumWidth(win->width()); -#endif - connect(win, &MainWindow::destroyed, [this](QObject *) { win = nullptr;