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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src
From:       Mark Kretschmann <markey () web ! de>
Date:       2006-06-23 8:45:25
Message-ID: 1151052325.106179.12819.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 554120 by markey:

Fix possible crash when showing the context menu. Assigning 0 to receiver and member \
is apparently a bad idea.

BUG: 129646


 M  +3 -3      playlist.cpp  


--- trunk/extragear/multimedia/amarok/src/playlist.cpp #554119:554120
@@ -3743,7 +3743,7 @@
 
     popup.insertItem( SmallIconSet( amaroK::icon( "play" ) ), isCurrent && isPlaying
             ? i18n( "&Restart" )
-            : i18n( "&Play" ), 0, 0, Key_Enter, PLAY );
+            : i18n( "&Play" ), PLAY );
 
     // Begin queue entry logic
     popup.insertItem( SmallIconSet( amaroK::icon( "fastforward" ) ), i18n("&Queue \
Selected Tracks"), PLAY_NEXT ); @@ -3811,7 +3811,7 @@
 
     popup.insertItem( SmallIconSet( amaroK::icon( "edit" ) ), (itemCount == 1
             ? i18n( "&Edit Tag '%1'" )
-            : i18n( "&Edit '%1' Tag for Selected Tracks" )).arg( tagName ), 0, 0, \
Key_F2, EDIT ); +            : i18n( "&Edit '%1' Tag for Selected Tracks" )).arg( \
tagName ), EDIT );  
     if( itemCount > 1 )
         popup.insertItem( trackColumn
@@ -3820,7 +3820,7 @@
                         .arg( KStringHandler::rsqueeze( tag, 30 ).replace( "&", "&&" \
) ), FILL_DOWN );  
     if( itemCount == 1 )
-        popup.insertItem( SmallIconSet( amaroK::icon( "editcopy" ) ), i18n( "&Copy \
Tags to Clipboard" ), 0, 0, CTRL+Key_C, COPY ); +        popup.insertItem( \
SmallIconSet( amaroK::icon( "editcopy" ) ), i18n( "&Copy Tags to Clipboard" ), COPY \
);  
     popup.insertSeparator();
 


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

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