Skip to content

Commit

Permalink
TEMP: resize timer delay
Browse files Browse the repository at this point in the history
  • Loading branch information
CendioOssman committed Apr 11, 2024
1 parent e19b35a commit 5b13c06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vncviewer/vncwindow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ QVNCWindow::QVNCWindow(QWidget* parent)
scrollAreaLayout->addWidget(vScrollBar, 0, 1);
scrollAreaLayout->addWidget(hScrollBar, 1, 0);

// FIXME: this is a lot faster than before
resizeTimer->setInterval(100); // <-- DesktopWindow::resize(int x, int y, int w, int h)
resizeTimer->setSingleShot(true);
connect(resizeTimer, &QTimer::timeout, this, &QVNCWindow::handleDesktopSize);
Expand Down

0 comments on commit 5b13c06

Please sign in to comment.