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

List:       kde-commits
Subject:    KDE/kdeedu/ktouch/src
From:       Laurent Montel <montel () kde ! org>
Date:       2008-07-04 11:34:40
Message-ID: 1215171280.176682.10482.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 828007 by mlaurent:

Fix crash


 M  +2 -0      ktouch.cpp  


--- trunk/KDE/kdeedu/ktouch/src/ktouch.cpp #828006:828007
@@ -854,6 +854,8 @@
 void KTouch::updateCurrentUserActionCheck() {
     QStringList user_list = m_userStats.keys();
     int index = user_list.indexOf(Prefs::currentUserName());
+    if( index < 0)
+       return;
     // if not found, fall back on Default User
     if (index == -1) {
 	index = user_list.indexOf("Default User");
[prev in list] [next in list] [prev in thread] [next in thread] 

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