diff --git a/src/qz/ui/AboutDialog.java b/src/qz/ui/AboutDialog.java index 63c638bc..eb5410fe 100644 --- a/src/qz/ui/AboutDialog.java +++ b/src/qz/ui/AboutDialog.java @@ -166,7 +166,7 @@ private LinkLabel getLinkLibrary() { // Some OSs (e.g. FreeBSD) return null for server.getURI(), fallback to sane values URI uri = server.getURI(); String scheme = uri == null ? "http" : uri.getScheme(); - int port = uri == null ? PrintSocketServer.getWebsocketPorts().getInsecurePort(): uri.getPort(); + int port = uri == null ? PrintSocketServer.getWebsocketPorts().getInsecurePort(): uri.getPort(); linkLibrary.setLinkLocation(String.format("%s://%s:%s", scheme, AboutInfo.getPreferredHostname(), port)); } return linkLibrary;