Commit b1bdf7f0 authored by Claudio Valerio's avatar Claudio Valerio

removed unused settings

parent dc7567a4
...@@ -204,7 +204,6 @@ void UBSettings::init() ...@@ -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 ...@@ -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) ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment