[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kexi] src/core: Clear status in KexiProject::items, otherwise calling it after error message will r
From: Jaroslaw Staniek <staniek () kde ! org>
Date: 2016-02-29 23:12:14
Message-ID: E1aaWz8-0000sv-EM () scm ! kde ! org
[Download RAW message or body]
Git commit 8d37932d41f185d07959203735c96f7422c1e0d2 by Jaroslaw Staniek.
Committed on 29/02/2016 at 23:07.
Pushed by staniek into branch 'master'.
Clear status in KexiProject::items, otherwise calling it after error messag=
e will repeat the message
M +1 -1 src/core/kexiproject.cpp
http://commits.kde.org/kexi/8d37932d41f185d07959203735c96f7422c1e0d2
diff --git a/src/core/kexiproject.cpp b/src/core/kexiproject.cpp
index 382b2e5..6f19df9 100644
--- a/src/core/kexiproject.cpp
+++ b/src/core/kexiproject.cpp
@@ -745,7 +745,7 @@ KexiProject::isConnected()
KexiPart::ItemDict*
KexiProject::items(KexiPart::Info *i)
{
- //qDebug();
+ clearResult();
KDbMessageGuard mg(this);
if (!i || !isConnected())
return 0;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic