From 90aaa298cc69522e88e1f81ade7d5259131b1544 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 12 Sep 2004 20:28:36 +0000 Subject: Follow the defined Ownership and have a maybe not needed sanity check --- (limited to 'noncore/todayplugins') diff --git a/noncore/todayplugins/fortune/fortuneplugin.cpp b/noncore/todayplugins/fortune/fortuneplugin.cpp index 69d2c45..4461219 100644 --- a/noncore/todayplugins/fortune/fortuneplugin.cpp +++ b/noncore/todayplugins/fortune/fortuneplugin.cpp @@ -56,7 +56,7 @@ QString FortunePlugin::pixmapNameConfig() const TodayConfigWidget* FortunePlugin::configWidget( QWidget* /*wid*/ ) { // return new FortunePluginConfig( wid , "Fortune" ); - return NULL; + return 0l; } QString FortunePlugin::appName() const diff --git a/noncore/todayplugins/fortune/fortuneplugin.h b/noncore/todayplugins/fortune/fortuneplugin.h index 9b590ad..91bd981 100644 --- a/noncore/todayplugins/fortune/fortuneplugin.h +++ b/noncore/todayplugins/fortune/fortuneplugin.h @@ -20,9 +20,6 @@ #include #include -#include -#include - class FortunePlugin : public TodayPluginObject { -- cgit v0.9.0.2