diff --git a/kmcomposewin.cpp b/kmcomposewin.cpp index 44ab8ac50..b78ca1eae 100644 --- a/kmcomposewin.cpp +++ b/kmcomposewin.cpp @@ -2488,7 +2488,7 @@ void KMComposeWin::slotAttachFile() // We will not care about any permissions, existence or whatsoever in // this function. - KFileDialog fdlg( QString::null, QString::null, this ); + KFileDialog fdlg( KUrl(), QString::null, this ); fdlg.setOperationMode( KFileDialog::Other ); fdlg.setCaption(i18n("Attach File")); fdlg.okButton()->setGuiItem(KGuiItem(i18n("&Attach"),"fileopen")); @@ -2635,7 +2635,7 @@ void KMComposeWin::slotAttachFileResult(KJob *job) //----------------------------------------------------------------------------- void KMComposeWin::slotInsertFile() { - KFileDialog fdlg( QString::null, QString::null, this ); + KFileDialog fdlg( KUrl(), QString::null, this ); fdlg.setOperationMode( KFileDialog::Opening ); fdlg.okButton()->setText(i18n("&Insert")); fdlg.setCaption(i18n("Insert File"));