removed unused settings

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent dc7567a4f4
commit b1bdf7f0b9
  1. 1
      src/core/UBSettings.cpp
  2. 1
      src/core/UBSettings.h
  3. 1
      src/gui/UBNavigatorPalette.cpp

@ -204,7 +204,6 @@ void UBSettings::init()
appEnableAutomaticSoftwareUpdates = new UBSetting(this, "App", "EnableAutomaticSoftwareUpdates", true); appEnableAutomaticSoftwareUpdates = new UBSetting(this, "App", "EnableAutomaticSoftwareUpdates", true);
appEnableSoftwareUpdates = new UBSetting(this, "App", "EnableSoftwareUpdates", true); appEnableSoftwareUpdates = new UBSetting(this, "App", "EnableSoftwareUpdates", true);
appToolBarOrientationVertical = new UBSetting(this, "App", "ToolBarOrientationVertical", false); appToolBarOrientationVertical = new UBSetting(this, "App", "ToolBarOrientationVertical", false);
navigPaletteWidth = new UBSetting(this, "Board", "NavigPaletteWidth", 270);
rightLibPaletteWidth = new UBSetting(this, "Board", "RightLibPaletteWidth", 270); rightLibPaletteWidth = new UBSetting(this, "Board", "RightLibPaletteWidth", 270);
rightLibPaletteIsCollapsed = new UBSetting(this,"Board", "RightLibPaletteIsCollapsed",false); rightLibPaletteIsCollapsed = new UBSetting(this,"Board", "RightLibPaletteIsCollapsed",false);
leftLibPaletteWidth = new UBSetting(this, "Board", "LeftLibPaletteWidth",270); leftLibPaletteWidth = new UBSetting(this, "Board", "LeftLibPaletteWidth",270);

@ -314,7 +314,6 @@ class UBSettings : public QObject
UBSetting* gipThumbnailWidth; UBSetting* gipThumbnailWidth;
UBSetting* soundThumbnailWidth; UBSetting* soundThumbnailWidth;
UBSetting* navigPaletteWidth;
UBSetting* rightLibPaletteWidth; UBSetting* rightLibPaletteWidth;
UBSetting* rightLibPaletteIsCollapsed; UBSetting* rightLibPaletteIsCollapsed;
UBSetting* leftLibPaletteWidth; UBSetting* leftLibPaletteWidth;

@ -145,7 +145,6 @@ void UBNavigatorPalette::resizeEvent(QResizeEvent *event)
{ {
mNavigator->setMinimumHeight(height() - 2*border()); mNavigator->setMinimumHeight(height() - 2*border());
} }
UBSettings::settings()->navigPaletteWidth->set(width());
} }
void UBNavigatorPalette::timerEvent(QTimerEvent *event) void UBNavigatorPalette::timerEvent(QTimerEvent *event)

Loading…
Cancel
Save