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

List:       kde-commits
Subject:    KDE/kdebase/apps/plasma/applets/folderview
From:       Leonardo Finetti <finex () finex ! org>
Date:       2008-06-17 21:55:33
Message-ID: 1213739733.824325.16486.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 821591 by finex:

Configuration dialog: if the url is local check if it exist.

CCBUG: 164305



 M  +1 -1      folderview.cpp  


--- trunk/KDE/kdebase/apps/plasma/applets/folderview/folderview.cpp #821590:821591
@@ -160,7 +160,7 @@
     else
         url = ui.lineEdit->url();
 
-    if ( url.isEmpty() )
+    if ( url.isEmpty() || ( url.isLocalFile() && !QFile::exists( url.path() ) ) )
       url = KUrl(QDir::homePath());
 
     if (m_url != url || m_filterFiles != ui.filterFiles->text()) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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