mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix standalone grabbers (#1384)
* Fix too much copy/paste * Fix typo * Commandlineoptions: Additional error details for Int and Double ranges * Standalone grabbers: Show fps range on error, fix default host address
This commit is contained in:
@@ -228,13 +228,13 @@ int main(int argc, char** argv)
|
||||
if (!address.isLoopback() && (address.protocol() == QAbstractSocket::IPv4Protocol))
|
||||
{
|
||||
std::cout << "Access the Hyperion User-Interface for configuration and control via:" << std::endl;
|
||||
std::cout << "http:://" << address.toString().toStdString() << ":8090" << std::endl;
|
||||
std::cout << "http://" << address.toString().toStdString() << ":8090" << std::endl;
|
||||
|
||||
QHostInfo hostInfo = QHostInfo::fromName(address.toString());
|
||||
if (hostInfo.error() == QHostInfo::NoError)
|
||||
{
|
||||
QString hostname = hostInfo.hostName();
|
||||
std::cout << "http:://" << hostname.toStdString() << ":8090" << std::endl;
|
||||
std::cout << "http://" << hostname.toStdString() << ":8090" << std::endl;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user