Fix bug, about application collapse by
db can't connect
This commit is contained in:
@@ -28,12 +28,9 @@ class MainWindow : public QMainWindow
|
||||
public:
|
||||
explicit MainWindow(QWidget* aParent = nullptr);
|
||||
~MainWindow() override;
|
||||
static void QMessageOutput(QtMsgType aType, const QMessageLogContext& aContext, const QString& aMessage);
|
||||
void centerWidgetHide();
|
||||
void centerWidgetShow();
|
||||
void requestScreenSaver();
|
||||
QTextEdit* getEdit();
|
||||
void debugConsoleOn();
|
||||
void grabGestures(const QList<Qt::GestureType>& aGestures);
|
||||
|
||||
public slots:
|
||||
@@ -60,14 +57,14 @@ private:
|
||||
private:
|
||||
Ui::MainWindow* mUI;
|
||||
QDockWidget* mDebugConsoleWidget;
|
||||
QTextEdit* mDebugMessageConsole;
|
||||
QTabWidget* mTabWidget;
|
||||
InitializeWidget* mInitializWidget;
|
||||
ShutdownWidget* mShutdownWidget;
|
||||
|
||||
int mAdminTabIndex;
|
||||
QThread* mThread;
|
||||
bool mIsDebugMode;
|
||||
bool mTabInited;
|
||||
|
||||
|
||||
void switchToScanTab(QObject* sender, QObject* data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user