Add code to serialize and deserialize hosts and applists for persistence

This commit is contained in:
Cameron Gutman
2018-06-27 00:43:46 -07:00
parent d6b820d707
commit a5d1099e26
3 changed files with 104 additions and 0 deletions

View File

@@ -16,6 +16,11 @@ int main(int argc, char *argv[])
// password prompts on macOS.
qputenv("QT_SSL_USE_TEMPORARY_KEYCHAIN", QByteArray("1"));
// Set these here to allow us to use the default QSettings constructor
QCoreApplication::setOrganizationName("Moonlight Game Streaming Project");
QCoreApplication::setOrganizationDomain("moonlight-stream.com");
QCoreApplication::setApplicationName("Moonlight");
QApplication a(argc, argv);
MainWindow w;
w.show();