[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kopete/protocols/irc/ui
From:       Michel Hermier <michel.hermier () wanadoo ! fr>
Date:       2003-07-24 8:40:03
[Download RAW message or body]

CVS commit by hermier: 

Fixed stupid IRC account creation bug.


  M +3 -3      irceditaccountwidget.cpp   1.8


--- kdenonbeta/kopete/protocols/irc/ui/irceditaccountwidget.cpp  #1.7:1.8
@@ -56,8 +56,8 @@ KopeteAccount *IRCEditAccountWidget::app
         QString mAccountId = mNickName->text() + QString::fromLatin1("@") + \
mServer->text() + QString::fromLatin1(":") + QString::number( mPort->value() );  
-        if( !m_account )
-                m_account = new IRCAccount( mProtocol, mAccountId );
+        if( !m_IRCAccount )
+                m_IRCAccount = new IRCAccount( mProtocol, mAccountId );
 //      else
-//              m_account->setAccountId( mAccountId );
+//              m_IRCAccount->setAccountId( mAccountId );
 
         m_IRCAccount->setPassword( mPassword->text() );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic