summary refs log tree commit diff
path: root/src/UserSettingsPage.h
diff options
context:
space:
mode:
authorAdasauce <adasauce@with.parts>2020-02-18 17:16:07 -0400
committerAdasauce <adasauce@with.parts>2020-02-18 17:16:07 -0400
commit21b207d1f0df5260442838384a84ba66111a7b48 (patch)
treead583ebc364009afd9f114076af57444e3eb2b72 /src/UserSettingsPage.h
parentReplace QHBoxLayout with QFormLayout in UserSettings (diff)
downloadnheko-21b207d1f0df5260442838384a84ba66111a7b48.tar.xz
Review changes to UserSettingsPage
 - Switch to {} widget initialization
 - set fixed size on the Toggles so they don't scale down vertically
 - add another setting section for INTERFACE
 - add a placeholder value for deviceFingerprintValue_ so it can calculate the right size.
 - fix warnings about `QLayout: Attempting to add QLayout "" to UserSettingsPage "",` in boxWrap
 - hide widgets properly in Q_OS_MAC
 - remove mainLayout_ completely
 - clean up resizeEvent
Diffstat (limited to '')
-rw-r--r--src/UserSettingsPage.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h
index 7b290073..ef8258b6 100644
--- a/src/UserSettingsPage.h
+++ b/src/UserSettingsPage.h
@@ -167,9 +167,8 @@ private slots:
 private:
         // Layouts
         QVBoxLayout *topLayout_;
-        QFormLayout *formLayout_;
-        QVBoxLayout *mainLayout_;
         QHBoxLayout *topBarLayout_;
+        QFormLayout *formLayout_;
 
         // Shared settings object.
         QSharedPointer<UserSettings> settings_;