summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/composer.cpp7
-rw-r--r--noncore/unsupported/mail2/mail.pro2
2 files changed, 6 insertions, 3 deletions
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
@@ -13,2 +13,5 @@
+#include <opie/ofiledialog.h>
+//#include "attachdiag.h"
+
#include "addresspicker.h"
@@ -16,3 +19,2 @@
#include "smtphandler.h"
-#include "attachdiag.h"
#include "composer.h"
@@ -396,3 +398,4 @@ void Composer::slotAddAttach()
{
- DocLnk lnk = AttachDiag::getFile(this);
+ DocLnk lnk = OFileDialog::getOpenFileName( 1,"/");
+// DocLnk lnk = AttachDiag::getFile(this);
if (lnk.name().isEmpty()) return;
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
@@ -43,3 +43,3 @@ INTERFACES = accounteditorbase.ui \
INCLUDEPATH += $(OPIEDIR)/include libmail
-LIBS += -lmail -lqpe
+LIBS += -lmail -lqpe -lopie
TARGET = mail