summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-08-24 21:55:31 +0200
committerMontel Laurent <[email protected]>2017-08-24 21:55:31 +0200
commit3c4ddc908493d9b873300a3ca177085268b59d34 (patch)
treed342c23fd25c733a3f6deb706482d79196678bc6
parent838d649ee876db8ee905c6d05f91def57c68c51d (diff)
Add warning when we don't have account :x
-rw-r--r--sieveeditor/imapfoldercompletion/selectimapwidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sieveeditor/imapfoldercompletion/selectimapwidget.cpp b/sieveeditor/imapfoldercompletion/selectimapwidget.cpp
index 352818b..dabb439 100644
--- a/sieveeditor/imapfoldercompletion/selectimapwidget.cpp
+++ b/sieveeditor/imapfoldercompletion/selectimapwidget.cpp
@@ -20,6 +20,7 @@
#include "selectimapwidget.h"
#include "selectimapfolderdialog.h"
#include "selectimaplineedit.h"
+#include "imapfoldercompletionplugin_debug.h"
#include <KLocalizedString>
#include <QToolButton>
#include <QHBoxLayout>
@@ -69,6 +70,8 @@ void SelectImapWidget::setSieveImapAccountSettings(const KSieveUi::SieveImapAcco
if (mAccount.isValid()) {
mToolButton->show();
mLineEdit->setSieveImapAccountSettings(account);
+ } else {
+ qCDebug(IMAPFOLDERCOMPLETIONPLUGIN_LOG) << "Account is not defined";
}
}