controlpanelplugins/themeplugin/src/cpthemecontrol.cpp
changeset 42 3487b2ea501a
parent 37 cb294e641644
--- a/controlpanelplugins/themeplugin/src/cpthemecontrol.cpp	Fri Sep 17 08:29:50 2010 +0300
+++ b/controlpanelplugins/themeplugin/src/cpthemecontrol.cpp	Mon Oct 04 00:18:12 2010 +0300
@@ -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),