aboutsummaryrefslogtreecommitdiffstats
path: root/unix/vncconfig/QueryConnectDialog.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2022-11-18 16:31:41 +0100
committerPierre Ossman <ossman@cendio.se>2024-06-19 16:39:07 +0200
commitbc760d93b71070c7d65588686a494dcd5f228dc6 (patch)
treee86f5df18681bf634d7b48d2cbf1f15fa45b6ae0 /unix/vncconfig/QueryConnectDialog.h
parentdb68216c721763fb2f252d8f3c7c47e6be3998c6 (diff)
downloadtigervnc-bc760d93b71070c7d65588686a494dcd5f228dc6.tar.gz
tigervnc-bc760d93b71070c7d65588686a494dcd5f228dc6.zip
Explicitly request timer repetition
One-shot timers are more common, so let's change the API a bit to make that use case simpler. This API also makes it more clear what is happening.
Diffstat (limited to 'unix/vncconfig/QueryConnectDialog.h')
-rw-r--r--unix/vncconfig/QueryConnectDialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncconfig/QueryConnectDialog.h b/unix/vncconfig/QueryConnectDialog.h
index f685dc34..dcf64e40 100644
--- a/unix/vncconfig/QueryConnectDialog.h
+++ b/unix/vncconfig/QueryConnectDialog.h
@@ -43,7 +43,7 @@ class QueryConnectDialog : public TXDialog, public TXEventHandler,
void handleEvent(TXWindow*, XEvent* ) { }
void deleteWindow(TXWindow*);
void buttonActivate(TXButton* b);
- bool handleTimeout(rfb::Timer* t);
+ void handleTimeout(rfb::Timer* t);
private:
void refreshTimeout();
TXLabel addressLbl, address, userLbl, user, timeoutLbl, timeout;