summaryrefslogtreecommitdiffabout
path: root/microkde/kfiledialog.cpp
Side-by-side diff
Diffstat (limited to 'microkde/kfiledialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kfiledialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/microkde/kfiledialog.cpp b/microkde/kfiledialog.cpp
index 309f8dc..3f47425 100644
--- a/microkde/kfiledialog.cpp
+++ b/microkde/kfiledialog.cpp
@@ -17,5 +17,4 @@ QString KFileDialog::getSaveFileName( const QString & fn,
lay.setMargin(7);
lay.setSpacing(7);
- dia.setCaption( cap );
QString file = fn;
if ( file.isEmpty() )
@@ -28,4 +27,5 @@ QString KFileDialog::getSaveFileName( const QString & fn,
// o.setNameVisible( true );
dia.showMaximized();
+ dia.setCaption( cap );
int res = dia.exec();
if ( res )
@@ -43,5 +43,4 @@ QString KFileDialog::getOpenFileName( const QString & fn,
lay.setMargin(7);
lay.setSpacing(7);
- dia.setCaption( cap );
QString file = fn;
if ( file.isEmpty() )
@@ -52,4 +51,5 @@ QString KFileDialog::getOpenFileName( const QString & fn,
lay.addWidget( &o);
dia.showMaximized();
+ dia.setCaption( cap );
int res = dia.exec();
if ( res )