mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-12 22:13:47 -04:00
18 lines
718 B
Plaintext
18 lines
718 B
Plaintext
$NetBSD: patch-ak,v 1.6 2004/08/21 12:35:15 markd Exp $
|
|
|
|
--- kcontrol/kdm/main.cpp.orig 2004-08-06 06:57:02.000000000 +1200
|
|
+++ kcontrol/kdm/main.cpp
|
|
@@ -142,7 +142,11 @@ KDModule::KDModule(QWidget *parent, cons
|
|
kdWarning() << "user(s) '" << tgmapci.data().join(",")
|
|
<< "' have unknown GID " << tgmapci.key() << endl;
|
|
|
|
- config = new KSimpleConfig( QString::fromLatin1( KDE_CONFDIR "/kdm/kdmrc" ));
|
|
+ QFile confFile (QString::fromLatin1( "@PKG_SYSCONFDIR@" "/kdm/kdmrc" ));
|
|
+ if ( !confFile.exists() )
|
|
+ confFile.setName (QString::fromLatin1( KDE_CONFDIR "/kdm/kdmrc" ));
|
|
+
|
|
+ config = new KSimpleConfig( confFile.name());
|
|
|
|
QVBoxLayout *top = new QVBoxLayout(this);
|
|
tab = new QTabWidget(this);
|