[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kexi] src: Add missing initializations
From: Jaroslaw Staniek <staniek () kde ! org>
Date: 2016-03-31 21:24:35
Message-ID: E1alk4x-00079r-0v () scm ! kde ! org
[Download RAW message or body]
Git commit c414d6b16f2ba2630d825175f1f7856a63a74b6f by Jaroslaw Staniek.
Committed on 31/03/2016 at 21:19.
Pushed by staniek into branch 'master'.
Add missing initializations
(coverity)
M +1 -1 src/formeditor/resizehandle.cpp
M +1 -1 src/kexiutils/FlowLayout.cpp
M +1 -0 src/plugins/forms/widgets/kexidblineedit.cpp
http://commits.kde.org/kexi/c414d6b16f2ba2630d825175f1f7856a63a74b6f
diff --git a/src/formeditor/resizehandle.cpp b/src/formeditor/resizehandle.=
cpp
index a3ee052..eb9f6f8 100644
--- a/src/formeditor/resizehandle.cpp
+++ b/src/formeditor/resizehandle.cpp
@@ -77,7 +77,7 @@ class ResizeHandle::Private
{
public:
Private(ResizeHandleSet* set_, HandlePos pos_)
- : set(set_), pos(pos_), dragging(false)
+ : set(set_), pos(pos_), dragging(false), x(0), y(0)
{}
~Private() {}
=
diff --git a/src/kexiutils/FlowLayout.cpp b/src/kexiutils/FlowLayout.cpp
index e9cca88..c59ae11 100644
--- a/src/kexiutils/FlowLayout.cpp
+++ b/src/kexiutils/FlowLayout.cpp
@@ -39,7 +39,7 @@ public:
};
=
KexiFlowLayout::Private::Private()
- : cached_width(0), justify(false), orientation(Qt::Horizontal)
+ : cached_width(0), cached_hfw(0), justify(false), orientation(Qt::Hori=
zontal)
{
=
}
diff --git a/src/plugins/forms/widgets/kexidblineedit.cpp b/src/plugins/for=
ms/widgets/kexidblineedit.cpp
index adb4ff6..4c6416e 100644
--- a/src/plugins/forms/widgets/kexidblineedit.cpp
+++ b/src/plugins/forms/widgets/kexidblineedit.cpp
@@ -97,6 +97,7 @@ KexiDBLineEdit::KexiDBLineEdit(QWidget *parent)
, m_menuExtender(this, this)
, m_internalReadOnly(false)
, m_slotTextChanged_enabled(true)
+ , m_cursorPosition(0)
, m_paletteChangeEvent_enabled(true)
, m_inStyleChangeEvent(false)
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic