include missing initializations

an uninitialized variable can be the origin of several bugs.
unfortunately, not the one I suffer.

REVIEW: 106781
This commit is contained in:
Jaime Torres 2012-10-10 19:07:06 +02:00
parent 8aae14cde8
commit fe259f19bb
4 changed files with 5 additions and 1 deletions

View File

@ -31,6 +31,7 @@ public:
ContainmentActionsPrivate(KService::Ptr service, ContainmentActions *containmentActions) :
q(containmentActions),
containmentActionsDescription(service),
package(0),
initialized(false),
needsConfig(false),
containment(0)

View File

@ -44,7 +44,8 @@ public:
bottomMargin(0),
noBorderPadding(false),
stretchBorders(false),
tileCenter(false)
tileCenter(false),
composeOverBorder(false)
{
ref(svg);
}

View File

@ -38,6 +38,7 @@ class ClientPrivate : public QObject
public:
ClientPrivate(Client *client)
: q(client),
readerThread(0),
error(Client::NoError) {}
public slots:

View File

@ -46,6 +46,7 @@ public:
DeclarativeWidgetPrivate(DeclarativeWidget *parent)
: q(parent),
engine(0),
scriptEngine(0),
component(0),
root(0),
delay(false)