File tree Expand file tree Collapse file tree 3 files changed +26
-10
lines changed
Expand file tree Collapse file tree 3 files changed +26
-10
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
66find_package (Qt6 REQUIRED COMPONENTS Core Gui Qml Quick QuickControls2 Network)
77
88# Read version from git tag if available
9- set (CONNECTTOOL_VERSION "1.5.13 " )
9+ set (CONNECTTOOL_VERSION "1.5.14 " )
1010if (DEFINED ENV{CONNECTTOOL_VERSION})
1111 set (CONNECTTOOL_VERSION "$ENV{CONNECTTOOL_VERSION} " )
1212endif ()
Original file line number Diff line number Diff line change 2828 steamworksSdkEnv = builtins . getEnv "STEAMWORKS_SDK_DIR" ;
2929 steamworksEnvPath =
3030 if steamworksEnv != "" then
31- builtins . path {
32- path = steamworksEnv ;
33- name = "steamworks-hint" ;
34- }
31+ builtins . path
32+ {
33+ path = steamworksEnv ;
34+ name = "steamworks-hint" ;
35+ }
3536 else
3637 null ;
3738 steamworksSdkEnvPath =
3839 if steamworksSdkEnv != "" then
39- builtins . path {
40- path = steamworksSdkEnv ;
41- name = "steamworks-sdk" ;
42- }
40+ builtins . path
41+ {
42+ path = steamworksSdkEnv ;
43+ name = "steamworks-sdk" ;
44+ }
4345 else
4446 null ;
4547 steamworksHint =
6062 {
6163 default = pkgs . stdenv . mkDerivation rec {
6264 pname = "connecttool-qt" ;
63- version = "1.5.13 " ;
65+ version = "1.5.14 " ;
6466 dontWrapQtApps = pkgs . stdenv . isDarwin ;
6567
6668 # Keep entire working tree (including untracked) so new sources are present.
Original file line number Diff line number Diff line change @@ -494,6 +494,13 @@ ApplicationWindow {
494494 to: 65535
495495 value: backend .localPort
496496 editable: true
497+ textFromValue : function (value , locale ) {
498+ return value .toString ()
499+ }
500+ valueFromText : function (text , locale ) {
501+ const parsed = parseInt (text, 10 )
502+ return isNaN (parsed) ? value : parsed
503+ }
497504 enabled: backend .connectionMode === 0 && ! (backend .isHost || backend .isConnected )
498505 onValueChanged: backend .localPort = value
499506 }
@@ -511,6 +518,13 @@ ApplicationWindow {
511518 to: 65535
512519 value: backend .localBindPort
513520 editable: true
521+ textFromValue : function (value , locale ) {
522+ return value .toString ()
523+ }
524+ valueFromText : function (text , locale ) {
525+ const parsed = parseInt (text, 10 )
526+ return isNaN (parsed) ? value : parsed
527+ }
514528 enabled: backend .connectionMode === 0 && ! (backend .isHost || backend .isConnected )
515529 onValueChanged: backend .localBindPort = value
516530 }
You can’t perform that action at this time.
0 commit comments