diff --git a/src/blackgui/components/dbdebugdatabasesetup.ui b/src/blackgui/components/dbdebugdatabasesetup.ui
index d607993fe..6b3fd85b0 100644
--- a/src/blackgui/components/dbdebugdatabasesetup.ui
+++ b/src/blackgui/components/dbdebugdatabasesetup.ui
@@ -6,8 +6,8 @@
0
0
- 130
- 35
+ 176
+ 40
@@ -20,13 +20,6 @@
QFrame::Raised
- -
-
-
-
-
-
-
-
@@ -34,6 +27,26 @@
+ -
+
+
+
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
diff --git a/src/blackgui/components/settingsguicomponent.cpp b/src/blackgui/components/settingsguicomponent.cpp
index 4a561686f..539a86af3 100644
--- a/src/blackgui/components/settingsguicomponent.cpp
+++ b/src/blackgui/components/settingsguicomponent.cpp
@@ -41,8 +41,8 @@ namespace BlackGui
this, &CSettingsGuiComponent::widgetStyleChanged);
// selection
- connect(ui->rb_PreferExtendedSelection, &QRadioButton::released, this, &CSettingsGuiComponent::ps_selectionChanged);
- connect(ui->rb_PreferMultiSelection, &QRadioButton::released, this, &CSettingsGuiComponent::ps_selectionChanged);
+ connect(ui->rb_PreferExtendedSelection, &QRadioButton::released, this, &CSettingsGuiComponent::selectionChanged);
+ connect(ui->rb_PreferMultiSelection, &QRadioButton::released, this, &CSettingsGuiComponent::selectionChanged);
this->guiSettingsChanged();
}
@@ -61,7 +61,7 @@ namespace BlackGui
ui->hs_SettingsGuiOpacity->setValue(static_cast(value));
}
- void CSettingsGuiComponent::ps_selectionChanged()
+ void CSettingsGuiComponent::selectionChanged()
{
QAbstractItemView::SelectionMode sm = QAbstractItemView::NoSelection;
if (ui->rb_PreferExtendedSelection->isChecked())
@@ -72,8 +72,8 @@ namespace BlackGui
{
sm = QAbstractItemView::MultiSelection;
}
- if (sm == this->m_guiSettings.get().getPreferredSelection()) { return; }
- const CStatusMessage m = this->m_guiSettings.setAndSaveProperty(CGeneralGuiSettings::IndexPreferredSelection, CVariant::fromValue(sm));
+ if (sm == m_guiSettings.get().getPreferredSelection()) { return; }
+ const CStatusMessage m = m_guiSettings.setAndSaveProperty(CGeneralGuiSettings::IndexPreferredSelection, CVariant::fromValue(sm));
CLogMessage::preformatted(m);
}
@@ -105,7 +105,7 @@ namespace BlackGui
ui->cb_SettingsGuiWidgetStyle->setCurrentText(settings.getWidgetStyle());
return;
}
- const CStatusMessage m = this->m_guiSettings.setAndSaveProperty(CGeneralGuiSettings::IndexWidgetStyle, widgetStyle);
+ const CStatusMessage m = m_guiSettings.setAndSaveProperty(CGeneralGuiSettings::IndexWidgetStyle, widgetStyle);
CLogMessage::preformatted(m);
}
} // ns
diff --git a/src/blackgui/components/settingsguicomponent.h b/src/blackgui/components/settingsguicomponent.h
index 5f4147204..b373f80c7 100644
--- a/src/blackgui/components/settingsguicomponent.h
+++ b/src/blackgui/components/settingsguicomponent.h
@@ -48,11 +48,10 @@ namespace BlackGui
//! Change the windows opacity 0..100
void changedWindowsOpacity(int opacity);
- private slots:
- //! Selection radio buttons changed
- void ps_selectionChanged();
-
private:
+ //! Selection radio buttons changed
+ void selectionChanged();
+
//! GUI settings changed
void guiSettingsChanged();
@@ -60,7 +59,7 @@ namespace BlackGui
void widgetStyleChanged(const QString &widgetStyle);
QScopedPointer ui;
- BlackMisc::CSetting m_guiSettings { this, &CSettingsGuiComponent::guiSettingsChanged };
+ BlackMisc::CSetting m_guiSettings { this, &CSettingsGuiComponent::guiSettingsChanged };
};
} // ns
} // ns
diff --git a/src/blackgui/components/settingsguicomponent.ui b/src/blackgui/components/settingsguicomponent.ui
index c7e8bddb9..1e0675866 100644
--- a/src/blackgui/components/settingsguicomponent.ui
+++ b/src/blackgui/components/settingsguicomponent.ui
@@ -6,7 +6,7 @@
0
0
- 204
+ 250
235
@@ -171,6 +171,19 @@
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+