Changeset 6305 for trunk/qt-gui/src/keyrequestdlg.cpp
- Timestamp:
- 06/14/08 17:14:17 (7 months ago)
- Files:
-
- 1 modified
-
trunk/qt-gui/src/keyrequestdlg.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt-gui/src/keyrequestdlg.cpp
r4699 r6305 156 156 void KeyRequestDlg::openConnection() 157 157 { 158 //TODO fix this in daemon 159 char *p; 160 unsigned long uin = strtoul(m_szId, &p,10); 161 if( (p == 0 || (p && !*p)) && m_nPPID == LICQ_PPID ) 162 icqEventTag = gLicqDaemon->icqOpenSecureChannel(uin); 158 if (m_nPPID == LICQ_PPID ) 159 icqEventTag = gLicqDaemon->icqOpenSecureChannel(m_szId); 163 160 } 164 161 165 162 void KeyRequestDlg::closeConnection() 166 163 { 167 //TODO fix this in daemon 168 char *p; 169 unsigned long uin = strtoul(m_szId, &p,10); 170 if( (p == 0 || (p && !*p)) && m_nPPID == LICQ_PPID ) 171 icqEventTag = gLicqDaemon->icqCloseSecureChannel(uin); 164 if (m_nPPID == LICQ_PPID ) 165 icqEventTag = gLicqDaemon->icqCloseSecureChannel(m_szId); 172 166 } 173 167
