mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
fixes for build on windows
This commit is contained in:
@@ -63,6 +63,7 @@ int main(int argc, char *argv[])
|
||||
url.setHost(QString::fromStdString(location["href"].as<std::string>()));
|
||||
#else
|
||||
url.setHost(parser.value(host_option));
|
||||
#if defined(__linux__)
|
||||
if (parser.value(host_option).endsWith(".local"))
|
||||
{
|
||||
QProcess p;
|
||||
@@ -85,6 +86,7 @@ int main(int argc, char *argv[])
|
||||
ret[1].removeLast();
|
||||
url.setHost(ret[1]);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
url.setPort(parser.value(port_option).toInt());
|
||||
QString default_sim = parser.value(default_sim_option);
|
||||
|
||||
Reference in New Issue
Block a user