Commit Graph

1897 Commits

Author SHA1 Message Date
Martchus 1283faff96 Fix compatibility with Qt < 6.7 2024-04-19 12:59:34 +02:00
Martchus 0ee0dbd10a Update translations 2024-04-19 00:07:28 +02:00
Martchus d99fadd1f1 Allow stopping the systemd service automatically on metered connections
This is the same as the feature already present in the launcher and
connection settings. Not sure how much sense it makes for systemd services
as they run rather independently from the UI but maybe it is useful.
2024-04-19 00:04:48 +02:00
Martchus 353a380464 Bump sover 2024-04-18 22:26:08 +02:00
Martchus e674868d12 Bump patch version 2024-04-18 22:25:57 +02:00
Martchus 131b4d1649 Use explicit c'tor in all Qt Widgets GUI related classes 2024-04-12 02:35:18 +02:00
Martchus 97f6cfcf76 Remove unused include in `helper.h` 2024-04-12 02:29:24 +02:00
Martchus 15b60102a1 Workaround Qt bug in Windows 11 style
Pass a widget when invoking `QStyle::drawControl()`; the Windows 11 style
uses the widget unconditionally.

Considering the documentation explicitly states `The widget argument is
optional` and the default value for the function argument is `nullptr` this
is supposedly a bug in Qt.
2024-04-12 02:29:02 +02:00
Martchus 96f26e8f37 Fix compilation against Qt 5 2024-04-09 12:05:52 +02:00
Martchus 0bb7120c1c Update release date 2024-04-09 11:52:22 +02:00
Martchus 80e5a0f64c Update translations 2024-04-09 11:36:32 +02:00
Martchus bc62d6282c Update libsyncthing to v1.27.6 2024-04-09 11:36:03 +02:00
Martchus 96bf755af2 Apply clang-format 2024-04-09 11:35:45 +02:00
Martchus cc599efbef Fix potential problems with code related to styling the tray menu 2024-04-09 11:35:23 +02:00
Martchus 3fc7fbd542 Improve comment in web page code 2024-04-08 18:10:06 +02:00
Martchus 21144421de Fix showing external links via built-in web view
Pass profile to new web page (that is being created when a `target="blank"`
link is clicked) to avoid running into `Can not adopt content from a
different WebEngineProfile.`.
2024-04-08 18:07:27 +02:00
Martchus 1293a36613 Fix compilation with Qt 5 2024-04-08 14:17:04 +02:00
Martchus 35d03551c4 Update translations 2024-04-06 19:47:16 +02:00
Martchus 982f04bbaa Apply clang-format 2024-04-06 19:39:38 +02:00
Martchus 548251f538 Fix positioning issues with remote file browser 2024-04-06 19:38:54 +02:00
Martchus 38eb689b69 Allow showing remote file browser from Plasmoid 2024-04-06 19:35:12 +02:00
Martchus bc6db82b6b
Merge pull request #245 from dsh2dsh/master
Fix QT6 build with disabled SYSTEMD_SUPPORT (#244)
2024-04-05 23:03:32 +02:00
Denis Shaposhnikov f596312047
Fix QT6 build with disabled SYSTEMD_SUPPORT (#244)
See https://github.com/Martchus/syncthingtray/issues/244
2024-04-05 22:31:46 +02:00
Martchus fe3d7891e9 Avoid unconditional use of `std::errc::stream_timeout`
It looks like `libstdc++` and `libc++` only define this `enum class` member
when the `ETIME` macro is defined. To prevent build errors when this macro
is not defined it makes sense to check for this error only conditionally.
2024-04-05 18:04:52 +02:00
Martchus 93b5d66875 Allow browsing remote/global files 2024-04-05 01:30:00 +02:00
Martchus 1b9450fc62 Bump patch version 2024-04-05 01:29:42 +02:00
Martchus 05f28a81ea Update release date 2024-04-02 11:09:30 +02:00
Martchus f326b278d4 Update libsyncthing to v1.27.5 2024-04-02 10:56:20 +02:00
Martchus 6b7d916914 Make autostart entry for GNU/Linux more robust
* Add `--wait` parameter so Syncthing Tray will wait until the tray becomes
  available; this might help if Syncthing Tray is started by the desktop
  environment before the tray is available (unless it is started too soon
  even for that)
* Add `X-LXQt-Need-Tray=true` to ensure the system tray is available on
  LXQt because just `--wait` might not be sufficient here (according to
  https://github.com/Martchus/syncthingtray/issues/240); this is in-line
  with the autostart entry of https://github.com/lxqt/lxqt-powermanagement
2024-03-16 00:14:44 +01:00
Martchus a16a343639 Update translations 2024-03-09 11:55:48 +01:00
Martchus ae77b3071a Clarify the meaning of libsyncthing's directories via tooltips 2024-03-09 11:53:13 +01:00
Martchus cfc091d4fb Keep fallback to config directory if no data directory is configured for libsyncthing 2024-03-09 11:51:33 +01:00
Martchus 8bc45de18d Remove unused header in `setupdetection.h` 2024-03-09 11:40:15 +01:00
Martchus 9ed9f94040 Fix setting data directory when starting libsyncthing
See https://github.com/Martchus/syncthingtray/issues/237
2024-03-09 11:37:43 +01:00
Martchus 53f4ac6fcb Consider metered setting also when autostarting Syncthing 2024-03-07 01:10:34 +01:00
Martchus e2d6a3b774 Bump patch version 2024-03-07 01:09:22 +01:00
Martchus 14657c6a35 Update release date 2024-03-05 11:58:46 +01:00
Martchus 259c38d626 Update libsyncthing to v1.27.4 2024-03-05 11:43:55 +01:00
Martchus 9ecb9dc6c3 Improve code for mocked reply
* Fix missing include
* Avoid useless cast
* Convert to current coding style
2024-03-01 23:59:28 +01:00
Martchus 0db27b14b0 Update translations 2024-02-29 14:12:02 +01:00
Martchus f2210a5691 Avoid warnings of network information backend showing in CLI
Lazy-initialize the network information backend so warnings it possibly
shows don't disturb the output of the CLI (which does not need the network
information backend anyway).
2024-02-29 13:46:42 +01:00
Martchus 1e9d9274cb Apply setting to stop on metered connection immediately
Just setting this when launching is not enough because then enabling or
disabling the setting while Syncthing is already running doesn't work.
2024-02-26 16:08:12 +01:00
Martchus dff6bcab67 Apply change of `global.h` template 2024-02-22 19:43:14 +01:00
Martchus dee94844be Fix compilation with Qt < 6.6 2024-02-22 16:57:02 +01:00
Martchus 8372dfbcaa Update translations 2024-02-22 14:31:16 +01:00
Martchus 43caad8676 Ensure Fork Awesome icons are re-rendered on device pixel ratio change 2024-02-22 01:10:04 +01:00
Martchus abf1ad6c5a Support option for metered networks in Plasmoid as well 2024-02-19 18:34:36 +01:00
Martchus 827251004e Configure checkboxes for metered connection also if there's no launcher
Otherwise the checkbox is just visible but doesn't do anything.
2024-02-19 18:33:27 +01:00
Martchus 45c48d989b Improve form layout in connection option page 2024-02-19 18:31:25 +01:00
Martchus 1e56f3dd82 Fix consistency issue with punctuation in German translation 2024-02-18 15:39:09 +01:00