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

List:       kde-commits
Subject:    branches/KDE/4.5/kdenetwork/krdc
From:       Tony Murray <murraytony () gmail ! com>
Date:       2010-12-17 18:05:33
Message-ID: 20101217180533.6234AAC8A8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1207375 by murrant:

Backport r1207372 by murrant from trunk to the 4.5 branch:

Protect against null pointers here.
CCBUG: 260259



 M  +1 -1      mainwindow.cpp  


--- branches/KDE/4.5/kdenetwork/krdc/mainwindow.cpp #1207374:1207375
@@ -1054,7 +1054,7 @@
 
     if (m_tabWidget->currentWidget() == m_newConnectionWidget) {
         m_currentRemoteView = -1;
-        m_addressInput->setFocus();
+        if(m_addressInput) m_addressInput->setFocus();
     }
 
     const QString tabTitle = m_tabWidget->tabText(index).remove('&');
[prev in list] [next in list] [prev in thread] [next in thread] 

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