aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/QueryConnectDialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/winvnc/QueryConnectDialog.cxx')
-rw-r--r--win/winvnc/QueryConnectDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/winvnc/QueryConnectDialog.cxx b/win/winvnc/QueryConnectDialog.cxx
index bedfe5a9..24918b2a 100644
--- a/win/winvnc/QueryConnectDialog.cxx
+++ b/win/winvnc/QueryConnectDialog.cxx
@@ -74,7 +74,7 @@ void QueryConnectDialog::worker() {
void QueryConnectDialog::initDialog() {
if (!SetTimer(handle, 1, 1000, nullptr))
- throw rdr::SystemException("SetTimer", GetLastError());
+ throw rdr::Win32Exception("SetTimer", GetLastError());
setItemString(IDC_QUERY_HOST, peerIp.c_str());
if (userName.empty())
userName = "(anonymous)";