Reverted new Sync settings
This commit is contained in:
@@ -10,11 +10,6 @@ Public Class mgrSettings
|
||||
Private bShowOverwriteWarning As Boolean = True
|
||||
Private bRestoreOnLaunch As Boolean = False
|
||||
Private bSync As Boolean = True
|
||||
Private bSyncGameConfigs As Boolean = True
|
||||
Private bSyncGameInfo As Boolean = False
|
||||
Private bSyncHours As Boolean = True
|
||||
Private bSyncTags As Boolean = True
|
||||
Private bSyncAll As Boolean = False
|
||||
Private bCheckSum As Boolean = True
|
||||
Private bTimeTracking As Boolean = True
|
||||
Private bSupressBackup As Boolean = False
|
||||
@@ -105,51 +100,6 @@ Public Class mgrSettings
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Property SyncGameConfigs As Boolean
|
||||
Get
|
||||
Return bSyncGameConfigs
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
bSyncGameConfigs = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Property SyncGameInfo As Boolean
|
||||
Get
|
||||
Return bSyncGameInfo
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
bSyncGameInfo = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Property SyncHours As Boolean
|
||||
Get
|
||||
Return bSyncHours
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
bSyncHours = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Property SyncTags As Boolean
|
||||
Get
|
||||
Return bSyncTags
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
bSyncTags = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Property SyncAll As Boolean
|
||||
Get
|
||||
Return bSyncAll
|
||||
End Get
|
||||
Set(value As Boolean)
|
||||
bSyncAll = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
Property CheckSum As Boolean
|
||||
Get
|
||||
Return bCheckSum
|
||||
@@ -263,8 +213,7 @@ Public Class mgrSettings
|
||||
|
||||
sSQL = "INSERT INTO settings VALUES (1, @MonitorOnStartup, @StartToTray, @ShowDetectionToolTips, @DisableConfirmation, "
|
||||
sSQL &= "@CreateSubFolder, @ShowOverwriteWarning, @RestoreOnLaunch, @BackupFolder, @Sync, @CheckSum, @StartWithWindows, "
|
||||
sSQL &= "@TimeTracking, @SupressBackup, @SupressBackupThreshold, @CompressionLevel, @Custom7zArguments, @Custom7zLocation, "
|
||||
sSQL &= "@SyncGameConfigs, @SyncGameInfo, @SyncHours, @SyncTags, @SyncAll)"
|
||||
sSQL &= "@TimeTracking, @SupressBackup, @SupressBackupThreshold, @CompressionLevel, @Custom7zArguments, @Custom7zLocation)"
|
||||
|
||||
hshParams.Add("MonitorOnStartup", MonitorOnStartup)
|
||||
hshParams.Add("StartToTray", StartToTray)
|
||||
@@ -283,11 +232,6 @@ Public Class mgrSettings
|
||||
hshParams.Add("CompressionLevel", CompressionLevel)
|
||||
hshParams.Add("Custom7zArguments", Custom7zArguments)
|
||||
hshParams.Add("Custom7zLocation", Custom7zLocation)
|
||||
hshParams.Add("SyncGameConfigs", SyncGameConfigs)
|
||||
hshParams.Add("SyncGameInfo", SyncGameInfo)
|
||||
hshParams.Add("SyncHours", SyncHours)
|
||||
hshParams.Add("SyncTags", SyncTags)
|
||||
hshParams.Add("SyncAll", SyncAll)
|
||||
|
||||
oDatabase.RunParamQuery(sSQL, hshParams)
|
||||
End Sub
|
||||
@@ -320,11 +264,6 @@ Public Class mgrSettings
|
||||
CompressionLevel = CInt(dr("CompressionLevel"))
|
||||
If Not IsDBNull(dr("Custom7zArguments")) Then Custom7zArguments = CStr(dr("Custom7zArguments"))
|
||||
If Not IsDBNull(dr("Custom7zLocation")) Then Custom7zLocation = CStr(dr("Custom7zLocation"))
|
||||
SyncGameConfigs = CBool(dr("SyncGameConfigs"))
|
||||
SyncGameInfo = CBool(dr("SyncGameInfo"))
|
||||
SyncHours = CBool(dr("SyncHours"))
|
||||
SyncTags = CBool(dr("SyncTags"))
|
||||
SyncAll = CBool(dr("SyncAll"))
|
||||
Next
|
||||
|
||||
oDatabase.Disconnect()
|
||||
|
||||
Reference in New Issue
Block a user