mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Merge branch 'origin/next'
This commit is contained in:
commit
7c9470a745
5 changed files with 21 additions and 18 deletions
|
@ -112,9 +112,15 @@ downloadDialog_forWait(NULL)
|
|||
QNetworkProxyFactory::setUseSystemConfiguration(true);
|
||||
setAcceptDrops(true);
|
||||
|
||||
// give time to the main windows to open before starting updates, delay 1s
|
||||
QTimer::singleShot(1000, this, SLOT(doAutoUpdates()));
|
||||
QTimer::singleShot(1000, this, SLOT(displayWarnings()));
|
||||
// give time to the splash to disappear and main window to open before starting updates
|
||||
int updateDelay = 1000;
|
||||
QSettings settings("companion9x", "companion9x");
|
||||
bool showSplash = settings.value("show_splash", true).toBool();
|
||||
if (showSplash)
|
||||
updateDelay += (SPLASH_TIME*1000);
|
||||
QTimer::singleShot(updateDelay, this, SLOT(doAutoUpdates()));
|
||||
QTimer::singleShot(updateDelay, this, SLOT(displayWarnings()));
|
||||
|
||||
QStringList strl = QApplication::arguments();
|
||||
QString str;
|
||||
QString printfilename;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue