--- a/src/qtgui/main.cpp
+++ b/src/qtgui/main.cpp
@@ -55,11 +55,6 @@
 #ifdef RCL_USE_ASPELL
 Aspell *aspell;
 #endif
-
-RclConfig* RclConfig::getMainConfig()
-{
-    return rclconfig;
-}
 
 RclDynConf *g_dynconf;
 int recollNeedsExit;