mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
migrate std::string to qstring + add sysinfo via json (#412)
* std::string -> qstring part 1 * more string migration * more string migration ... * ... * more qstring mogrations add sysinfo via json * remove unneccessary includes * integrate sysinfo into webui
This commit is contained in:
@@ -43,9 +43,10 @@ bool loadConfig(const QString & configFile)
|
||||
|
||||
if (!schemaChecker.validate(jsonConfig))
|
||||
{
|
||||
for (std::list<std::string>::const_iterator i = schemaChecker.getMessages().begin(); i != schemaChecker.getMessages().end(); ++i)
|
||||
QStringList schemaErrors = schemaChecker.getMessages();
|
||||
foreach (auto & schemaError, schemaErrors)
|
||||
{
|
||||
std::cout << *i << std::endl;
|
||||
std::cout << "config write validation: " << schemaError.toStdString() << std::endl;
|
||||
}
|
||||
|
||||
std::cout << "FAILED" << std::endl;
|
||||
|
Reference in New Issue
Block a user