import cx.fbn.nevernote.utilities.ApplicationLogger;\r
\r
public class Global {\r
- public static String version = "0.92";\r
+ public static String version = "0.92.1";\r
public static String username = ""; \r
public static String password = ""; \r
\r
proxyPassword.setEchoMode(QLineEdit.EchoMode.Password);\r
\r
proxyHost.setText(Global.getProxyValue("url"));\r
- proxyPort.setValue(new Integer(Global.getProxyValue("port")));\r
+ String portString = Global.getProxyValue("port");\r
+ Integer port = new Integer(80);\r
+ try {\r
+ port = new Integer(portString.trim());\r
+ } catch (Exception e) {\r
+ }\r
+\r
proxyPort.setMinimum(1);\r
proxyPort.setMaximum(65565);\r
+ proxyPort.setValue(port);\r
proxyUserid.setText(Global.getProxyValue("userid"));\r
proxyPassword.setText(Global.getProxyValue("password"));\r
\r