Changeset 3526

Show
Ignore:
Timestamp:
05/29/03 00:32:24 (5 years ago)
Author:
dreamforce2
Message:

little update, use unicode

Files:
1 modified

Legend:

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

    r3441 r3526  
    2424#include <qpushbutton.h> 
    2525#include <qlabel.h> 
     26#include <qtextcodec.h> 
    2627#include <qtimer.h> 
    2728 
     
    3132#include "sigman.h" 
    3233#include "licq_user.h" 
     34#include "usercodec.h" 
    3335 
    3436 
     
    4547 
    4648  ICQUser *u = gUserManager.FetchUser(m_szId, m_nPPID, LOCK_R); 
    47   setCaption(tr("Licq - Secure Channel with %1").arg(u->GetAlias())); 
     49  QTextCodec *codec = UserCodec::codecForICQUser(u); 
     50  setCaption(tr("Licq - Secure Channel with %1").arg(codec->toUnicode(u->GetAlias()))); 
    4851 
    4952  QBoxLayout *top_lay = new QVBoxLayout(this, 10); 
     
    127130 
    128131  ICQUser *u = gUserManager.FetchUser(m_nUin, LOCK_R); 
    129   setCaption(tr("Licq - Secure Channel with %1").arg(u->GetAlias())); 
     132  QTextCodec *codec = UserCodec::codecForICQUser(u); 
     133  setCaption(tr("Licq - Secure Channel with %1").arg(codec->toUnicode(u->GetAlias()))); 
    130134 
    131135  QBoxLayout *top_lay = new QVBoxLayout(this, 10);