[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kmail
From: Matt Douhan <matt () fruitsalad ! org>
Date: 2005-04-30 17:42:41
Message-ID: 20050430174241.49E7E665 () office ! kde ! org
[Download RAW message or body]
CVS commit by mdouhan:
If the deleted transport is the currently used one (sticky transport)
reset it to the default transport to avoid sending using a non existant
transport that only exists in the combobox and not in the accounts configuration
BUG:62096
M +6 -0 configuredialog.cpp 1.531
--- kdepim/kmail/configuredialog.cpp #1.530:1.531
@@ -869,4 +869,10 @@ void AccountsPage::SendingTab::slotRemov
}
+ // if the deleted transport is the currently used transport reset it to default
+ const QString& currentTransport = GlobalSettings::currentTransport();
+ if ( item->text( 0 ) == currentTransport ) {
+ GlobalSettings::setCurrentTransport( QString::null );
+ }
+
if ( !changedIdents.isEmpty() ) {
QString information = i18n( "This identity has been changed to use the default transport:",
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic