summary refs log tree commit diff
path: root/src/UserSettingsPage.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-10-06 18:43:53 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-10-06 18:43:53 +0300
commit4865f852d8b0069137db529fd40d63b9e19a133e (patch)
treef84c53f086301d7fcaad7e7921e112b530c7d650 /src/UserSettingsPage.h
parentRemove Scrollbar (diff)
downloadnheko-4865f852d8b0069137db529fd40d63b9e19a133e.tar.xz
Remove room re-ordering option
Diffstat (limited to '')
-rw-r--r--src/UserSettingsPage.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/UserSettingsPage.h b/src/UserSettingsPage.h
index d099a121..373126ae 100644
--- a/src/UserSettingsPage.h
+++ b/src/UserSettingsPage.h
@@ -55,12 +55,6 @@ public:
 
         void setFontSize(double size);
 
-        void setRoomOrdering(bool state)
-        {
-                isOrderingEnabled_ = state;
-                save();
-        }
-
         void setGroupView(bool state)
         {
                 if (isGroupViewEnabled_ != state)
@@ -91,7 +85,6 @@ public:
         QString theme() const { return !theme_.isEmpty() ? theme_ : "light"; }
         bool isTrayEnabled() const { return isTrayEnabled_; }
         bool isStartInTrayEnabled() const { return isStartInTrayEnabled_; }
-        bool isOrderingEnabled() const { return isOrderingEnabled_; }
         bool isGroupViewEnabled() const { return isGroupViewEnabled_; }
         bool isTypingNotificationsEnabled() const { return isTypingNotificationsEnabled_; }
         bool isReadReceiptsEnabled() const { return isReadReceiptsEnabled_; }
@@ -105,7 +98,6 @@ private:
         QString theme_;
         bool isTrayEnabled_;
         bool isStartInTrayEnabled_;
-        bool isOrderingEnabled_;
         bool isGroupViewEnabled_;
         bool isTypingNotificationsEnabled_;
         bool isReadReceiptsEnabled_;
@@ -152,7 +144,6 @@ private:
 
         Toggle *trayToggle_;
         Toggle *startInTrayToggle_;
-        Toggle *roomOrderToggle_;
         Toggle *groupViewToggle_;
         Toggle *typingNotifications_;
         Toggle *readReceipts_;