Skip to content

Commit

Permalink
Merge pull request #1214 from principis/fix-qt6-linux
Browse files Browse the repository at this point in the history
Remove window size workaround on Unix
  • Loading branch information
limpkin authored Feb 28, 2024
2 parents 7d635e5 + cc6f576 commit 160919b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/AppGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 160919b

Please sign in to comment.