Show
Ignore:
Timestamp:
06/14/08 06:24:08 (6 months ago)
Author:
flynd
Message:

Changed some calls to daemon to not use uin version of functions.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/dialogs/keyrequestdlg.cpp

    r5837 r6294  
    148148void KeyRequestDlg::openConnection() 
    149149{ 
    150   //TODO fix this in daemon 
    151   bool ok; 
    152   unsigned long uin = myId.toULong(&ok); 
    153   if (ok && myPpid == LICQ_PPID) 
    154     myIcqEventTag = gLicqDaemon->icqOpenSecureChannel(uin); 
     150  if (myPpid == LICQ_PPID) 
     151    myIcqEventTag = gLicqDaemon->icqOpenSecureChannel(myId.toLatin1().data()); 
    155152} 
    156153 
    157154void KeyRequestDlg::closeConnection() 
    158155{ 
    159   //TODO fix this in daemon 
    160   bool ok; 
    161   unsigned long uin = myId.toULong(&ok); 
    162   if (ok && myPpid == LICQ_PPID) 
    163     myIcqEventTag = gLicqDaemon->icqCloseSecureChannel(uin); 
     156  if (myPpid == LICQ_PPID) 
     157    myIcqEventTag = gLicqDaemon->icqCloseSecureChannel(myId.toLatin1().data()); 
    164158} 
    165159