author | zautrix <zautrix> | 2005-02-28 18:16:03 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-28 18:16:03 (UTC) |
commit | 27466d3bc668e7a4c4bdedb6f407e14844908347 (patch) (unidiff) | |
tree | ecc5f637b7430d34161a267bd4047cdd0de056f3 /kmicromail | |
parent | 16575cca67c9047de72530080dfeb5793a66c935 (diff) | |
download | kdepimpi-27466d3bc668e7a4c4bdedb6f407e14844908347.zip kdepimpi-27466d3bc668e7a4c4bdedb6f407e14844908347.tar.gz kdepimpi-27466d3bc668e7a4c4bdedb6f407e14844908347.tar.bz2 |
ompi fixes
-rw-r--r-- | kmicromail/editaccounts.cpp | 12 | ||||
-rw-r--r-- | kmicromail/opiemail.cpp | 8 | ||||
-rw-r--r-- | kmicromail/selectsmtp.cpp | 2 |
3 files changed, 16 insertions, 6 deletions
diff --git a/kmicromail/editaccounts.cpp b/kmicromail/editaccounts.cpp index 8253c91..f1075c0 100644 --- a/kmicromail/editaccounts.cpp +++ b/kmicromail/editaccounts.cpp | |||
@@ -383,2 +383,8 @@ void IMAPconfig::accept() | |||
383 | { | 383 | { |
384 | if ( localFolder->text().contains("/") ||localFolder->text().contains("\\") ) { | ||
385 | QMessageBox::information( this, i18n( "Error" ), | ||
386 | i18n( "No paths allowed in\nlocal folder settings.\nPlease specify a folder\nname or leave empty\nto create local folder\nwith account name\nautomatically." ), | ||
387 | i18n( "Ok" ) ); | ||
388 | return; | ||
389 | } | ||
384 | data->setAccountName( accountLine->text() ); | 390 | data->setAccountName( accountLine->text() ); |
@@ -456,2 +462,8 @@ void POP3config::accept() | |||
456 | { | 462 | { |
463 | if ( localFolder->text().contains("/") ||localFolder->text().contains("\\") ) { | ||
464 | QMessageBox::information( this, i18n( "Error" ), | ||
465 | i18n( "No paths allowed in\nlocal folder settings.\nPlease specify a folder\nname or leave empty\nto create local folder\nwith account name\nautomatically." ), | ||
466 | i18n( "Ok" ) ); | ||
467 | return; | ||
468 | } | ||
457 | data->setAccountName( accountLine->text() ); | 469 | data->setAccountName( accountLine->text() ); |
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index 197f7ec..b701446 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp | |||
@@ -207,6 +207,6 @@ void OpieMail::slotSendQueued() | |||
207 | { | 207 | { |
208 | QMessageBox::information(0,i18n("Info"),i18n("Define a smtp account first!\n")); | 208 | QMessageBox::information(0,i18n("Info"),i18n("Define a smtp\n account first!\n")); |
209 | return; | 209 | return; |
210 | } | 210 | } |
211 | if ( QMessageBox::warning(this, i18n("Sending all mails"), i18n("Do you really want to send\nall queued mails?" ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::No ) | 211 | if ( QMessageBox::warning(this, i18n("Sending all mails"), i18n("Do you really want to\nsend all queued mails?" ) , QMessageBox::Yes, QMessageBox::No ) == QMessageBox::No ) |
212 | return; | 212 | return; |
@@ -221,5 +221,3 @@ void OpieMail::slotSendQueued() | |||
221 | selsmtp.setSelectionlist(&smtpList); | 221 | selsmtp.setSelectionlist(&smtpList); |
222 | #ifndef DESKTOP_VERSION | 222 | selsmtp.resize( selsmtp.sizeHint() ); |
223 | selsmtp.showMaximized(); | ||
224 | #endif | ||
225 | if ( selsmtp.exec() == QDialog::Accepted ) | 223 | if ( selsmtp.exec() == QDialog::Accepted ) |
diff --git a/kmicromail/selectsmtp.cpp b/kmicromail/selectsmtp.cpp index ff8b524..10b6d79 100644 --- a/kmicromail/selectsmtp.cpp +++ b/kmicromail/selectsmtp.cpp | |||
@@ -21,3 +21,3 @@ selectsmtp::selectsmtp(QWidget* parent, const char* name, bool modal, WFlags fl) | |||
21 | folderLabel->hide(); | 21 | folderLabel->hide(); |
22 | accountlabel->setText("<center>SMTP Accounts</center>"); | 22 | //accountlabel->setText(i18n("SMTP\nAccount:")); |
23 | Line1->hide(); | 23 | Line1->hide(); |