File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -259,13 +259,13 @@ if(NOT IOS AND NOT ANDROID)
259259endif ()
260260
261261if (ENABLE_MQTT)
262+ add_definitions (-DENABLE_MQTT )
262263 find_package (Qt6 REQUIRED COMPONENTS Mqtt )
263264 target_link_libraries (${CMAKE_PROJECT_NAME } PRIVATE Qt6::Mqtt )
264- add_definitions (-DENABLE_MQTT )
265265endif ()
266266if (ENABLE_MBEDTLS)
267267 add_definitions (-DENABLE_MBEDTLS )
268- target_link_libraries (${CMAKE_PROJECT_NAME } PUBLIC "-lmbedtls -lmbedx509 -lmbedcrypto" )
268+ target_link_libraries (${CMAKE_PROJECT_NAME } PRIVATE "-lmbedtls -lmbedx509 -lmbedcrypto" )
269269endif ()
270270
271271################################################################################
Original file line number Diff line number Diff line change @@ -327,11 +327,11 @@ ApplicationWindow {
327327 onActivated: deviceManager .refreshDevices_check ()
328328 }
329329 Shortcut {
330- sequence : " Ctrl+F5"
330+ sequences : [ " Ctrl+F5" ]
331331 onActivated: deviceManager .refreshDevices_start ()
332332 }
333333 Shortcut {
334- sequence : StandardKey .Preferences
334+ sequences : [ StandardKey .Preferences ]
335335 onActivated: appContent .state = " Settings"
336336 }
337337 Shortcut {
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Loader {
4141 deviceBM .item .backAction ()
4242
4343 // disconnect device
44- // if (currentDevice) currentDevice.actionDisconnect()
44+ if (currentDevice) currentDevice .actionDisconnect ()
4545 }
4646
4747 // //////////////////////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments