|
|
|
|
@ -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")); |
|
|
|
|
|