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.
tde-packaging/mandriva/2010.2/kdebase/kdebase-3.4.0-fix-scrnsaver...

19 lines
761 B

--- kdebase-3.4.0/kcontrol/screensaver/scrnsave.cpp-- 2005-04-12 05:03:07.927420021 -0400
+++ kdebase-3.4.0/kcontrol/screensaver/scrnsave.cpp 2005-04-12 05:04:27.259781143 -0400
@@ -103,13 +103,14 @@ KScreenSaver::KScreenSaver(TQWidget *pare
// Add KDE specific screensaver path
TQString relPath="System/ScreenSavers/";
+#if 0 //disable because we mustn't use it
KServiceGroup::Ptr servGroup = KServiceGroup::baseGroup( "screensavers" );
if (servGroup)
{
relPath=servGroup->relPath();
kdDebug() << "relPath=" << relPath << endl;
}
-
+#endif
KGlobal::dirs()->addResourceType("scrsav",
KGlobal::dirs()->kde_default("apps") +
relPath);