From 58bc81c05bf4a8672a39d5559f8ab690ad7fa7d1 Mon Sep 17 00:00:00 2001 From: Ilia Ryabokon Date: Tue, 31 Jul 2012 09:34:21 +0300 Subject: [PATCH] disabled old lib widget --- src/board/UBBoardPaletteManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/board/UBBoardPaletteManager.cpp b/src/board/UBBoardPaletteManager.cpp index 470f8874..afa2ccf1 100644 --- a/src/board/UBBoardPaletteManager.cpp +++ b/src/board/UBBoardPaletteManager.cpp @@ -136,9 +136,9 @@ void UBBoardPaletteManager::setupDockPaletteWidgets() mpPageNavigWidget = new UBPageNavigationWidget(); -//#ifdef USE_WEB_WIDGET +#ifdef USE_WEB_WIDGET mpLibWidget = new UBLibWidget(); -//#endif +#endif mpCachePropWidget = new UBCachePropertiesWidget(); @@ -170,10 +170,10 @@ void UBBoardPaletteManager::setupDockPaletteWidgets() //Do not show deprecated lib widget to prevent collisions. Uncomment to return lib widget -//#ifdef USE_WEB_WIDGET +#ifdef USE_WEB_WIDGET mRightPalette->registerWidget(mpLibWidget); mRightPalette->addTab(mpLibWidget); -//#endif +#endif // The cache widget will be visible only if a cache is put on the page