Diffstat (limited to 'noncore/comm/keypebble/krfbconnection.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/comm/keypebble/krfbconnection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/comm/keypebble/krfbconnection.cpp b/noncore/comm/keypebble/krfbconnection.cpp index c413186..c51f18a 100644 --- a/noncore/comm/keypebble/krfbconnection.cpp +++ b/noncore/comm/keypebble/krfbconnection.cpp | |||
@@ -121,10 +121,10 @@ void KRFBConnection::gotRFBConnection() | |||
121 | } | 121 | } |
122 | 122 | ||
123 | void KRFBConnection::gotSocketError( int errno ) | 123 | void KRFBConnection::gotSocketError( int err ) |
124 | { | 124 | { |
125 | currentState_ = Error; | 125 | currentState_ = Error; |
126 | 126 | ||
127 | // Do some error handling stuff | 127 | // Do some error handling stuff |
128 | qWarning( "KRFBConnection: Socket error %d", errno ); | 128 | qWarning( "KRFBConnection: Socket error %d", err ); |
129 | 129 | ||
130 | static QString refused = tr( "Connection Refused" ); | 130 | static QString refused = tr( "Connection Refused" ); |
@@ -136,5 +136,5 @@ void KRFBConnection::gotSocketError( int errno ) | |||
136 | 136 | ||
137 | QString msg; | 137 | QString msg; |
138 | switch ( errno ) { | 138 | switch ( err ) { |
139 | case QSocket::ErrConnectionRefused: | 139 | case QSocket::ErrConnectionRefused: |
140 | msg = refused; | 140 | msg = refused; |