From 1540fc9be514330c76c999562fcf3e6bc1e2ffbb Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 27 Apr 2005 23:23:17 +0000 Subject: csv fixes --- (limited to 'microkde/kfiledialog.cpp') diff --git a/microkde/kfiledialog.cpp b/microkde/kfiledialog.cpp index 3f47425..6be1580 100644 --- a/microkde/kfiledialog.cpp +++ b/microkde/kfiledialog.cpp @@ -26,7 +26,10 @@ QString KFileDialog::getSaveFileName( const QString & fn, // o.setNewVisible( true ); // o.setNameVisible( true ); dia.showMaximized(); - dia.setCaption( cap ); + if ( cap.isEmpty() ) + dia.setCaption( file ); + else + dia.setCaption( cap ); int res = dia.exec(); if ( res ) retfile = o.selectedName(); -- cgit v0.9.0.2