From 231a90376b096687770b2b029d4a3d2efa232b2e Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 05 Feb 2005 14:31:01 +0000 Subject: many fixes --- (limited to 'microkde/kfiledialog.cpp') diff --git a/microkde/kfiledialog.cpp b/microkde/kfiledialog.cpp index 309f8dc..3f47425 100644 --- a/microkde/kfiledialog.cpp +++ b/microkde/kfiledialog.cpp @@ -16,7 +16,6 @@ QString KFileDialog::getSaveFileName( const QString & fn, QVBoxLayout lay( &dia ); lay.setMargin(7); lay.setSpacing(7); - dia.setCaption( cap ); QString file = fn; if ( file.isEmpty() ) file = QDir::homeDirPath()+"/*"; @@ -27,6 +26,7 @@ QString KFileDialog::getSaveFileName( const QString & fn, // o.setNewVisible( true ); // o.setNameVisible( true ); dia.showMaximized(); + dia.setCaption( cap ); int res = dia.exec(); if ( res ) retfile = o.selectedName(); @@ -42,7 +42,6 @@ QString KFileDialog::getOpenFileName( const QString & fn, QVBoxLayout lay( &dia ); lay.setMargin(7); lay.setSpacing(7); - dia.setCaption( cap ); QString file = fn; if ( file.isEmpty() ) file = QDir::homeDirPath()+"/*";; @@ -51,6 +50,7 @@ QString KFileDialog::getOpenFileName( const QString & fn, QObject::connect ( &o, SIGNAL( ok() ), &dia, SLOT ( accept () ) ); lay.addWidget( &o); dia.showMaximized(); + dia.setCaption( cap ); int res = dia.exec(); if ( res ) retfile = o.selectedName(); -- cgit v0.9.0.2