Permalink
Browse files

Build fix for kdelibs 4.5

While building against kdelibs 4.5, discovered that KCModule::addConfig
only takes KConfigSkeleton in this version. We're linking against kdeui
anyway, so let's just change it.
  • Loading branch information...
1 parent 2d793c3 commit 6b656b0ab1d82e0fc2dc3dc3c15eaaee690c66a3 Simon Persson committed Feb 10, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 settings/backupplan.cpp
  2. +2 −2 settings/backupplan.h
View
@@ -28,7 +28,7 @@
#include <KLocale>
BackupPlan::BackupPlan(int pPlanNumber, KSharedConfigPtr pConfig, QObject *pParent)
- :KCoreConfigSkeleton(pConfig, pParent), mPlanNumber(pPlanNumber)
+ :KConfigSkeleton(pConfig, pParent), mPlanNumber(pPlanNumber)
{
setCurrentGroup(QString("Plan/%1").arg(mPlanNumber));
View
@@ -22,11 +22,11 @@
#ifndef BACKUPPLAN_H
#define BACKUPPLAN_H
-#include <kcoreconfigskeleton.h>
+#include <kconfigskeleton.h>
class Schedule;
-class BackupPlan : public KCoreConfigSkeleton
+class BackupPlan : public KConfigSkeleton
{
public:
BackupPlan(int pPlanNumber, KSharedConfigPtr pConfig, QObject *pParent = 0);

0 comments on commit 6b656b0

Please sign in to comment.