@@ -62,7 +62,7 @@ using namespace CoinQ::Script;
62
62
using namespace std ;
63
63
64
64
MainWindow::MainWindow ()
65
- : networkSync(getCoinParams()), syncHeight(0 ), bestHeight(0 ), connected(false ), doneHeaderSync(false ), networkState(NETWORK_STATE_NOT_CONNECTED)
65
+ : licenseAccepted( false ), networkSync(getCoinParams()), syncHeight(0 ), bestHeight(0 ), connected(false ), doneHeaderSync(false ), networkState(NETWORK_STATE_NOT_CONNECTED)
66
66
{
67
67
loadSettings ();
68
68
@@ -1575,6 +1575,8 @@ void MainWindow::loadSettings()
1575
1575
resize (size);
1576
1576
move (pos);
1577
1577
1578
+ licenseAccepted = settings.value (" licenseaccepted" , false ).toBool ();
1579
+
1578
1580
blockTreeFile = settings.value (" blocktreefile" , " blocktree.dat" ).toString ();
1579
1581
host = settings.value (" host" , " localhost" ).toString ();
1580
1582
port = settings.value (" port" , getCoinParams ().default_port ()).toInt ();
@@ -1587,6 +1589,7 @@ void MainWindow::saveSettings()
1587
1589
QSettings settings (" Ciphrex" , APPNAME);
1588
1590
settings.setValue (" pos" , pos ());
1589
1591
settings.setValue (" size" , size ());
1592
+ settings.setValue (" licenseaccepted" , licenseAccepted);
1590
1593
settings.setValue (" blocktreefile" , blockTreeFile);
1591
1594
settings.setValue (" host" , host);
1592
1595
settings.setValue (" port" , port);
0 commit comments