remove trailing slash of server url in device mapping QRCode

This commit is contained in:
Fredrik Teschke committed 2014-10-21 08:52:40 +02:00
1 parent 650f888927
commit c190e8023e
1 file changed
+1 -1
@@ -52,7 +52,7 @@ public class DeviceMappingQRIdentifierWidget extends BaseQRIdentifierWidget {
@Override @Override
protected String generateEncodedQRCodeContent() { protected String generateEncodedQRCodeContent() {
String serverUrl = serverBox.getValue(); String serverUrl = getServerUrlWithoutFinalSlash();
if (serverUrl.isEmpty()) { if (serverUrl.isEmpty()) {
setError("Server URL empty"); setError("Server URL empty");
return null; return null;