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

List:       kde-commits
Subject:    KDE/kdenetwork/krdc
From:       Tony Murray <murraytony () gmail ! com>
Date:       2010-12-17 17:58:19
Message-ID: 20101217175819.104C4AC8A8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1207372 by murrant:

Protect against null pointers here.
BUG: 260259


 M  +1 -1      mainwindow.cpp  


--- trunk/KDE/kdenetwork/krdc/mainwindow.cpp #1207371:1207372
@@ -1057,7 +1057,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