KUrl in first arg of ctor KFileDialog

svn path=/trunk/KDE/kdepim/; revision=557880
wilder-work
Edwin Schepers 20 years ago
parent 8f6807a54c
commit 4a4d856379
  1. 4
      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"));

Loading…
Cancel
Save