Add Anonymous mode
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#include "models/User.h"
|
||||
#include "appvals/AppGlobalValues.h"
|
||||
#include "components/UTextEdit.h"
|
||||
#include "json/jsonobject.h"
|
||||
|
||||
|
||||
MainWindow::MainWindow(QWidget* aParent)
|
||||
: QMainWindow(aParent)
|
||||
@@ -131,7 +133,9 @@ void MainWindow::processShutdownDmsFailed()
|
||||
triggerError(tr("Shut down failed, please push emergency button to shutdown."));
|
||||
}
|
||||
|
||||
void MainWindow::switchToScanTab() { mTabWidget->setCurrentIndex(1); }
|
||||
void MainWindow::switchToScanTab(QObject* sender, QObject* data) {
|
||||
if (data)mTabWidget->setCurrentIndex(1);
|
||||
}
|
||||
|
||||
void MainWindow::centerWidgetHide()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user