Skip to content

Commit

Permalink
Merge pull request #26 from basyskom-mleutelt/fix_client_update_interval
Browse files Browse the repository at this point in the history
Fix client update interval not being applied initially
  • Loading branch information
uwerat authored Jun 19, 2024
2 parents 965c62a + f2a2b03 commit 08942b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/VncClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,7 @@ VncClient::VncClient( qintptr socketDescriptor, VncServer* server )

m_data->socket.open( socket );

// checking every 30ms for updates
m_data->updateTimer.setInterval( 30 );
m_data->updateTimer.setInterval( Vnc::timerInterval() );
connect( &m_data->updateTimer, &QTimer::timeout, this, &VncClient::maybeSendFrameBuffer );

// send protocol version
Expand Down

0 comments on commit 08942b5

Please sign in to comment.