diff options
Diffstat (limited to 'examples/qtmail/accountsettings.cpp')
| -rw-r--r-- | examples/qtmail/accountsettings.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/qtmail/accountsettings.cpp b/examples/qtmail/accountsettings.cpp index e99b50dd..1ee76ea6 100644 --- a/examples/qtmail/accountsettings.cpp +++ b/examples/qtmail/accountsettings.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ #include "accountsettings.h" -#include "editaccount.h" +//#include "editaccount.h" #include "statusbar.h" #include <qmailaccountlistmodel.h> #include <qmaillog.h> @@ -275,17 +275,21 @@ void AccountSettings::editAccount(QMailAccount *account) account->setStatus(QMailAccount::UserRemovable, true); } - QDialog *editAccountView; + int ret = QDialog::Rejected; bool wasPreferred(account->status() & QMailAccount::PreferredSender); +#if 0 // editor support removed from qmfmessageserver. need to reimplement config on app side + QDialog *editAccountView; + EditAccount *e = new EditAccount(this, "EditAccount"); e->setAccount(account, &config); editAccountView = e; editAccountView->setMinimumSize(QSize(400,400)); - int ret = editAccountView->exec(); + ret = editAccountView->exec(); delete editAccountView; +#endif if (ret == QDialog::Accepted) { QMailAccountId previousPreferredId; |
