-rw-r--r-- | noncore/unsupported/oipkg/main.cpp | 1 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/package.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp index f72540c..c579df8 100644 --- a/noncore/unsupported/oipkg/main.cpp +++ b/noncore/unsupported/oipkg/main.cpp @@ -7,8 +7,9 @@ int debugLevel; int main( int argc, char ** argv ) { + setpgid(0,0); printf("This is oipkg\n"); printf("$Id$\n"); debugLevel = 2; if (argc > 1) diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp index 8bbdd77..0cd93bf 100644 --- a/noncore/unsupported/oipkg/package.cpp +++ b/noncore/unsupported/oipkg/package.cpp @@ -52,8 +52,9 @@ Package::Package( QStringList pack, PackageManagerSettings *s , QObject *parent, parsePackage( pack ); } Package::Package( QString n, PackageManagerSettings *s, QObject *parent, const char *name ) + : QObject(parent,name) { init(s); if ( !QFile::exists( n ) ) { @@ -66,8 +67,9 @@ Package::Package( QString n, PackageManagerSettings *s, QObject *parent, const c } } Package::Package( Package *pi, QObject *parent, const char *name ) + : QObject(parent,name) { init(pi->settings); copyValues( pi ); } |