refactor: simplify the code

This commit is contained in:
Kevin Yue
2022-06-12 17:34:23 +08:00
parent 5ebfe9b0f4
commit cb457c4b09
14 changed files with 128 additions and 175 deletions

View File

@@ -4,7 +4,7 @@
#include <QtCore/QObject>
#include "portalconfigresponse.h"
#include "normalloginwindow.h"
#include "standardloginwindow.h"
#include "samlloginwindow.h"
#include "preloginresponse.h"
@@ -48,7 +48,7 @@ private:
bool isAutoLogin{ false };
NormalLoginWindow *normalLoginWindow{ nullptr };
StandardLoginWindow *standardLoginWindow { nullptr };
void tryAutoLogin();
void normalAuth();