diff -r 2fee987ebaff -r ab0490982943 controlpanelplugins/themeplugin/src/cpthemecontrol.cpp --- a/controlpanelplugins/themeplugin/src/cpthemecontrol.cpp Thu Sep 02 17:11:27 2010 +0800 +++ b/controlpanelplugins/themeplugin/src/cpthemecontrol.cpp Thu Sep 30 16:15:53 2010 +0800 @@ -50,18 +50,6 @@ static const int KThemeChangeTimeOutMilliSeconds = 2000; /*! - Helper function to fetch the main window. -*/ -static HbMainWindow *mainWindow() -{ - QList< HbMainWindow* > mainWindows = hbInstance->allMainWindows(); - if (!mainWindows.isEmpty()) { - return mainWindows.front(); - } - return 0; -} - -/*! constructor. */ CpThemeControl::CpThemeControl(): mThemeListView(0),