summaryrefslogtreecommitdiffabout
path: root/microkde
Side-by-side diff
Diffstat (limited to 'microkde') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kfiledialog.cpp3
-rw-r--r--microkde/kio/kfile/kurlrequester.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/microkde/kfiledialog.cpp b/microkde/kfiledialog.cpp
index 3f47425..6be1580 100644
--- a/microkde/kfiledialog.cpp
+++ b/microkde/kfiledialog.cpp
@@ -26,6 +26,9 @@ QString KFileDialog::getSaveFileName( const QString & fn,
// o.setNewVisible( true );
// o.setNameVisible( true );
dia.showMaximized();
+ if ( cap.isEmpty() )
+ dia.setCaption( file );
+ else
dia.setCaption( cap );
int res = dia.exec();
if ( res )
diff --git a/microkde/kio/kfile/kurlrequester.cpp b/microkde/kio/kfile/kurlrequester.cpp
index 6d39308..991c8be 100644
--- a/microkde/kio/kfile/kurlrequester.cpp
+++ b/microkde/kio/kfile/kurlrequester.cpp
@@ -272,7 +272,7 @@ void KURLRequester::slotOpenDialog()
KURL u( url() );
//QString fn = u.url();
QString fn = d->edit->text();
- fn = KFileDialog::getSaveFileName( fn, "Save backup filename", this );
+ fn = KFileDialog::getSaveFileName( fn, "", this );
if ( fn == "" )
return;