Show startup progress dialog

PR #17389.
This commit is contained in:
Vladimir Golovnev
2022-08-03 07:14:26 +03:00
committed by GitHub
parent aed492b881
commit e24aaa4ce1
6 changed files with 205 additions and 90 deletions

View File

@@ -67,6 +67,8 @@ namespace RSS
}
#ifndef DISABLE_GUI
class QProgressDialog;
class DesktopIntegration;
class MainWindow;
@@ -166,6 +168,7 @@ private:
#endif
#ifndef DISABLE_GUI
void createStartupProgressDialog();
#ifdef Q_OS_MACOS
bool event(QEvent *) override;
#endif
@@ -203,6 +206,7 @@ private:
DesktopIntegration *m_desktopIntegration = nullptr;
MainWindow *m_window = nullptr;
QProgressDialog *m_startupProgressDialog = nullptr;
#endif
#ifndef DISABLE_WEBUI