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

List:       kde-commits
Subject:    kdelibs/kdeui
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2003-01-01 18:51:05
[Download RAW message or body]

CVS commit by tokoe: 


if m_accel is < 0, the whole application crashs... should be fixed now


  M +4 -3      kaccelmanager.cpp   1.19


--- kdelibs/kdeui/kaccelmanager.cpp  #1.18:1.19
@@ -411,7 +411,8 @@ QString KAccelString::accelerated() cons
       if (m_accel != orig_accel && orig_accel >= 0)
           result.insert(oa, "(&&)");
-  } else
+  } else {
+    if (m_accel >= 0)
        result.insert(m_accel, "&");
-
+  }
   return result;
 }


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

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