summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-02-13 23:59:42 +0530
committerJedi18 <targetakhil@gmail.com>2021-02-13 23:59:42 +0530
commit1a406f79e6c7f673172c07da30ab958e980d919c (patch)
tree7f49a3ac1c0593aa672ab2230e0ec8034a26faa1 /src
parentadded togglebutton styling (diff)
downloadnheko-1a406f79e6c7f673172c07da30ab958e980d919c.tar.xz
replaced with togglebutton using qtquickcontrols2
Diffstat (limited to 'src')
-rw-r--r--src/MainWindow.h1
-rw-r--r--src/timeline/TimelineModel.h2
-rw-r--r--src/ui/RoomSettings.cpp8
3 files changed, 5 insertions, 6 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h
index 5c2df8b6..4a8ea642 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -54,7 +54,6 @@ class LeaveRoom;
 class Logout;
 class MemberList;
 class ReCaptcha;
-class RoomSettingsOld;
 }
 
 class MainWindow : public QMainWindow
diff --git a/src/timeline/TimelineModel.h b/src/timeline/TimelineModel.h
index 29207318..df067fd4 100644
--- a/src/timeline/TimelineModel.h
+++ b/src/timeline/TimelineModel.h
@@ -11,8 +11,8 @@
 #include "CacheCryptoStructs.h"
 #include "EventStore.h"
 #include "InputBar.h"
-#include "ui/UserProfile.h"
 #include "ui/RoomSettings.h"
+#include "ui/UserProfile.h"
 
 namespace mtx::http {
 using RequestErr = const std::optional<mtx::http::ClientError> &;
diff --git a/src/ui/RoomSettings.cpp b/src/ui/RoomSettings.cpp
index d2b5a630..b166332c 100644
--- a/src/ui/RoomSettings.cpp
+++ b/src/ui/RoomSettings.cpp
@@ -1,21 +1,21 @@
 #include "RoomSettings.h"
 
+#include <QApplication>
 #include <QFileDialog>
+#include <QHBoxLayout>
 #include <QImageReader>
 #include <QMimeDatabase>
 #include <QStandardPaths>
-#include <QHBoxLayout>
 #include <QVBoxLayout>
-#include <QApplication>
 #include <mtx/responses/common.hpp>
 #include <mtx/responses/media.hpp>
 
 #include "Cache.h"
-#include "Logging.h"
 #include "Config.h"
+#include "Logging.h"
 #include "MatrixClient.h"
-#include "ui/TextField.h"
 #include "Utils.h"
+#include "ui/TextField.h"
 
 using namespace mtx::events;