diff --git a/src/rootBg.C b/src/rootBg.C index b0672554..2fa7cd62 100644 --- a/src/rootBg.C +++ b/src/rootBg.C @@ -108,9 +108,9 @@ void RootPixmap::readSettings(int num) if ( useDir ) { - QStringList list = KGlobal::dirs()->findAllReources("wallpaper"); + QStringList list = KGlobal::dirs()->findAllResources("wallpaper"); - count = list.count(); + count = list.count(); if ( inorder ) { randomDesk = config.readNumEntry( "Item", 0 ); randomDesk++; diff --git a/src/schema.C b/src/schema.C index a525aa3d..86a797ee 100644 --- a/src/schema.C +++ b/src/schema.C @@ -14,6 +14,7 @@ #include "kapp.h" #include #include +#include static int schema_serial = 0; //FIXME: remove,localize