Skip to content

Commit

Permalink
Remove window size workaround on Unix
Browse files Browse the repository at this point in the history
Effectively reverts #972 as this workaround breaks Qt6 build on Unix and
cannot be reproduced anymore.
  • Loading branch information
principis committed Feb 28, 2024
1 parent 7d635e5 commit cc6f576
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 cc6f576

Please sign in to comment.