[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim/KDE/4.8] mailcommon: in setCollectionFullPath(), if there is no collectionModel in the kerne
From: Allen Winter <winter () kde ! org>
Date: 2012-02-03 21:07:02
Message-ID: 20120203210702.2AF69A60A6 () git ! kde ! org
[Download RAW message or body]
Git commit fb5b9b9fd1604aa555360a9c6030d27be32c0d6e by Allen Winter.
Committed on 03/02/2012 at 22:04.
Pushed by winterz into branch 'KDE/4.8'.
in setCollectionFullPath(), if there is no collectionModel in the kernel
then clear the lineedit.
MERGE: 4.8
(cherry picked from commit 721c0bed0e32fb8152d60f69ec6828bb4f08efe9)
M +2 -0 mailcommon/folderrequester.cpp
http://commits.kde.org/kdepim/fb5b9b9fd1604aa555360a9c6030d27be32c0d6e
diff --git a/mailcommon/folderrequester.cpp b/mailcommon/folderrequester.cpp
index 57c8c9d..016055c 100644
--- a/mailcommon/folderrequester.cpp
+++ b/mailcommon/folderrequester.cpp
@@ -108,6 +108,8 @@ void FolderRequester::setCollectionFullPath( const Akonadi::Collection &col )
{
if ( KernelIf->collectionModel() ) {
edit->setText( Util::fullCollectionPath( col ) );
+ } else {
+ edit->clear();
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic