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

List:       kde-commits
Subject:    KDE/kdelibs/kio/kfile
From:       Gary Cramblitt <garycramblitt () comcast ! net>
Date:       2006-11-08 22:03:20
Message-ID: 1163023400.120805.21046.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 603428 by cramblitt:

show method is no longer virtual under Qt4.  This fixes File Open/Save not \
remembering Simple/Detail setting.

 M  +2 -2      kfiledialog.cpp  
 M  +2 -2      kfiledialog.h  


--- trunk/KDE/kdelibs/kio/kfile/kfiledialog.cpp #603427:603428
@@ -1602,7 +1602,7 @@
     return url;
 }
 
-void KFileDialog::show()
+void KFileDialog::showEvent(QShowEvent* event)
 {
     if ( !d->hasView ) { // delayed view-creation
         ops->setView(KFile::Default);
@@ -1610,7 +1610,7 @@
         d->hasView = true;
     }
 
-    KDialog::show();
+    KDialog::showEvent(event);
 }
 
 void KFileDialog::setMode( KFile::Modes m )
--- trunk/KDE/kdelibs/kio/kfile/kfiledialog.h #603427:603428
@@ -588,8 +588,6 @@
                                  QWidget *parent = 0,
                                  const QString& caption = QString() );
 
-    virtual void show();
-
     /**
      * Sets the mode of the dialog.
      *
@@ -748,6 +746,8 @@
 
     KFileFilterCombo *filterWidget;
 
+    virtual void showEvent(QShowEvent* event);
+
     /**
      * Reimplemented to animate the cancel button.
      */


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

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