You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
570 B
18 lines
570 B
14 years ago
|
Index: kdesktop/lock/lockprocess.cc
|
||
|
===================================================================
|
||
|
--- kdesktop/lock/lockprocess.cc.orig
|
||
|
+++ kdesktop/lock/lockprocess.cc
|
||
|
@@ -364,8 +364,10 @@ void LockProcess::configure()
|
||
|
readSaver();
|
||
|
|
||
|
mPlugins = KDesktopSettings::pluginsUnlock();
|
||
|
- if (mPlugins.isEmpty())
|
||
|
- mPlugins = QStringList("classic");
|
||
|
+ if (mMethod == "pam")
|
||
|
+ mPlugins << mMethod;
|
||
|
+ if (mMethod == "pam" || mPlugins.isEmpty())
|
||
|
+ mPlugins << "classic";
|
||
|
mPluginOptions = KDesktopSettings::pluginOptions();
|
||
|
}
|
||
|
|