From 2bcd7302e4e156ad5f389b23c01a690917abee01 Mon Sep 17 00:00:00 2001 From: tille Date: Wed, 19 Jun 2002 12:41:33 +0000 Subject: added ofiledialog for attachments, but did not yet remove attachdiag --- (limited to 'noncore/unsupported/mail2') diff --git a/noncore/unsupported/mail2/composer.cpp b/noncore/unsupported/mail2/composer.cpp index 72a7242..03dacae 100644 --- a/noncore/unsupported/mail2/composer.cpp +++ b/noncore/unsupported/mail2/composer.cpp @@ -11,10 +11,12 @@ #include #include +#include +//#include "attachdiag.h" + #include "addresspicker.h" #include "listviewplus.h" #include "smtphandler.h" -#include "attachdiag.h" #include "composer.h" #include "rename.h" @@ -394,7 +396,8 @@ void Composer::slotOpenAddressPicker() void Composer::slotAddAttach() { - DocLnk lnk = AttachDiag::getFile(this); + DocLnk lnk = OFileDialog::getOpenFileName( 1,"/"); +// DocLnk lnk = AttachDiag::getFile(this); if (lnk.name().isEmpty()) return; Attachment attachment; diff --git a/noncore/unsupported/mail2/mail.pro b/noncore/unsupported/mail2/mail.pro index 76b7996..cd21d4a 100644 --- a/noncore/unsupported/mail2/mail.pro +++ b/noncore/unsupported/mail2/mail.pro @@ -41,6 +41,6 @@ INTERFACES = accounteditorbase.ui \ renamebase.ui \ searchdiagbase.ui INCLUDEPATH += $(OPIEDIR)/include libmail -LIBS += -lmail -lqpe +LIBS += -lmail -lqpe -lopie TARGET = mail DESTDIR = $(OPIEDIR)/bin -- cgit v0.9.0.2