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

List:       kde-commits
Subject:    KDE/kdemultimedia/juk
From:       Michael Pyne <mpyne () purinchu ! net>
Date:       2009-06-10 3:19:01
Message-ID: 1244603941.227373.4780.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 979522 by mpyne:

Allow the user to cancel setting a cover from a local file in JuK, will be in KDE 4.3

 M  +3 -0      playlist.cpp  


--- trunk/KDE/kdemultimedia/juk/playlist.cpp #979521:979522
@@ -849,6 +849,9 @@
     KUrl file = KFileDialog::getImageOpenUrl(
         KUrl( "kfiledialog://homedir" ), this, i18n("Select Cover Image File"));
 
+    if(file.isEmpty())
+        return;
+
     QString artist = items.front()->file().tag()->artist();
     QString album = items.front()->file().tag()->album();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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