src/MainWindow.cpp

changeset 465
8fc909360552
parent 430
ef2638cfc1b7
child 479
28f0e43e9f08
equal deleted inserted replaced
464:1fed3ff9a64e 465:8fc909360552
353 wsDev.host = "localhost"; 353 wsDev.host = "localhost";
354 settings.setValue("host", wsDev.host); 354 settings.setValue("host", wsDev.host);
355 } 355 }
356 settings.endGroup(); 356 settings.endGroup();
357 qDebug() << "WS dev" << wsDev.host; 357 qDebug() << "WS dev" << wsDev.host;
358
359 settings.beginGroup("paths");
360 if (settings.value("images").toString().isEmpty()) {
361 settings.setValue("download", QDir::homePath());
362 settings.setValue("images", QDir::homePath());
363 settings.setValue("beerxml", QDir::homePath());
364 }
365 settings.endGroup();
358 } 366 }
359 367
360 368
361 void MainWindow::writesettings() 369 void MainWindow::writesettings()
362 { 370 {

mercurial