From 63c6a0c2d0af0428c0e67876fca75e2bd2676968 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Fri, 8 Feb 2013 08:52:10 +0100 Subject: [PATCH] Don't set parent here. --- kmkernel.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kmkernel.cpp b/kmkernel.cpp index 4e5966862..243ba8f37 100644 --- a/kmkernel.cpp +++ b/kmkernel.cpp @@ -1664,7 +1664,8 @@ void KMKernel::transportRemoved(int id, const QString & name) QString information = i18np( "This identity has been changed to use the default transport:", "These %1 identities have been changed to use the default transport:", changedIdents.count() ); - KMessageBox::informationList( mWin, information, changedIdents ); + //Don't set parent otherwise we will swith to current KMail and we configure it. So not good + KMessageBox::informationList( 0, information, changedIdents ); im->commit(); } } @@ -1688,7 +1689,8 @@ void KMKernel::transportRenamed(int id, const QString & oldName, const QString & i18np( "This identity has been changed to use the modified transport:", "These %1 identities have been changed to use the modified transport:", changedIdents.count() ); - KMessageBox::informationList( mWin, information, changedIdents ); + //Don't set parent otherwise we will swith to current KMail and we configure it. So not good + KMessageBox::informationList( 0, information, changedIdents ); im->commit(); } }