forked from Public/monero-gui
main: add --disable-check-updates flag
This commit is contained in:
7
main.qml
7
main.qml
@@ -1321,8 +1321,6 @@ ApplicationWindow {
|
||||
openWallet("wizard");
|
||||
}
|
||||
|
||||
checkUpdates();
|
||||
|
||||
if(persistentSettings.fiatPriceEnabled){
|
||||
appWindow.fiatApiRefresh();
|
||||
appWindow.fiatTimerStart();
|
||||
@@ -1994,7 +1992,10 @@ ApplicationWindow {
|
||||
|
||||
Timer {
|
||||
id: updatesTimer
|
||||
interval: 3600*1000; running: true; repeat: true
|
||||
interval: 3600 * 1000
|
||||
repeat: true
|
||||
running: !disableCheckUpdatesFlag
|
||||
triggeredOnStart: true
|
||||
onTriggered: checkUpdates()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user