[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore/kconfig_compiler
From: David Jarvie <software () astrojar ! org ! uk>
Date: 2009-06-22 12:02:30
Message-ID: 1245672150.127413.5212.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 985222 by djarvie:
Fix use of uninitialised mSettingsChanged
M +7 -0 kconfig_compiler.cpp
--- trunk/KDE/kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp #985221:985222
@@ -1873,10 +1873,17 @@
cpp << " , mParam" << (*it).name << "(" << (*it).name << ")" << endl;
}
+ if ( hasSignals && !dpointer )
+ cpp << " , " << varName("settingsChanged") << "(0)" << endl;
+
cpp << "{" << endl;
if (dpointer)
+ {
cpp << " d = new " + className + "Private;" << endl;
+ if (hasSignals)
+ cpp << " " << varPath("settingsChanged") << " = 0;" << endl;
+ }
// Needed in case the singleton class is used as baseclass for
// another singleton.
if (singleton) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic