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:
parent
8aae14cde8
commit
fe259f19bb
@ -31,6 +31,7 @@ public:
|
|||||||
ContainmentActionsPrivate(KService::Ptr service, ContainmentActions *containmentActions) :
|
ContainmentActionsPrivate(KService::Ptr service, ContainmentActions *containmentActions) :
|
||||||
q(containmentActions),
|
q(containmentActions),
|
||||||
containmentActionsDescription(service),
|
containmentActionsDescription(service),
|
||||||
|
package(0),
|
||||||
initialized(false),
|
initialized(false),
|
||||||
needsConfig(false),
|
needsConfig(false),
|
||||||
containment(0)
|
containment(0)
|
||||||
|
@ -44,7 +44,8 @@ public:
|
|||||||
bottomMargin(0),
|
bottomMargin(0),
|
||||||
noBorderPadding(false),
|
noBorderPadding(false),
|
||||||
stretchBorders(false),
|
stretchBorders(false),
|
||||||
tileCenter(false)
|
tileCenter(false),
|
||||||
|
composeOverBorder(false)
|
||||||
{
|
{
|
||||||
ref(svg);
|
ref(svg);
|
||||||
}
|
}
|
||||||
|
@ -38,6 +38,7 @@ class ClientPrivate : public QObject
|
|||||||
public:
|
public:
|
||||||
ClientPrivate(Client *client)
|
ClientPrivate(Client *client)
|
||||||
: q(client),
|
: q(client),
|
||||||
|
readerThread(0),
|
||||||
error(Client::NoError) {}
|
error(Client::NoError) {}
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
@ -46,6 +46,7 @@ public:
|
|||||||
DeclarativeWidgetPrivate(DeclarativeWidget *parent)
|
DeclarativeWidgetPrivate(DeclarativeWidget *parent)
|
||||||
: q(parent),
|
: q(parent),
|
||||||
engine(0),
|
engine(0),
|
||||||
|
scriptEngine(0),
|
||||||
component(0),
|
component(0),
|
||||||
root(0),
|
root(0),
|
||||||
delay(false)
|
delay(false)
|
||||||
|
Loading…
Reference in New Issue
Block a user