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

List:       kde-commits
Subject:    kdelibs/kio/kfile
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2005-02-06 21:07:00
Message-ID: 20050206210700.89DE51CF51 () office ! kde ! org
[Download RAW message or body]

CVS commit by tokoe: 

Fixed the bug that the filter is not applyed when you open the KFileDialog
the second/third time.


  M +4 -5      kurlrequester.cpp   1.61


--- kdelibs/kio/kfile/kurlrequester.cpp  #1.60:1.61
@@ -340,9 +340,8 @@ KFileDialog * KURLRequester::fileDialog(
     if ( !myFileDialog ) {
         QWidget *p = parentWidget();
-        myFileDialog = new KFileDialog( QString::null, QString::null, p,
+        myFileDialog = new KFileDialog( QString::null, d->fileDialogFilter, p,
                                         "file dialog", true );
 
         myFileDialog->setMode( d->fileDialogMode );
-        myFileDialog->setFilter( d->fileDialogFilter );
         myFileDialog->setCaption( caption() );
     }


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

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