Index: kaccel.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdecore/kaccel.cpp,v
retrieving revision 1.149
diff -u -r1.149 kaccel.cpp
--- kaccel.cpp	13 Oct 2004 11:15:40 -0000	1.149
+++ kaccel.cpp	8 Nov 2004 21:19:30 -0000
@@ -302,7 +302,7 @@
 		// This is needed for when there are multiple actions
 		//  with the same shortcut where all but one is disabled.
 		// pMenu->count() also counts the menu title, so one shortcut will give count = 2.
-		if( pMenu->count() == 2 && static_cast<int>( pMenu->accel(1) ) == 0 ) { // ### use the faster isEmpty() once we require Qt 3.1 (Simon)
+		if( pMenu->count() == 2 && pMenu->accel(1).isEmpty() ) {
 			int iAction = pMenu->idAt(1);
 			slotMenuActivated( iAction );
 		} else {
