Kevin Ottens [Mon, 5 Oct 2020 07:43:00 +0000 (09:43 +0200)]
Merge pull request #2500 from nextcloud/docs-msi
Windows MSI: Update Docs & add SKIPAUTOUPDATE property
Michael Schuster [Fri, 2 Oct 2020 18:28:36 +0000 (20:28 +0200)]
Docs: Be slightly more modern and use 64-bit examples
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Fri, 2 Oct 2020 00:36:29 +0000 (02:36 +0200)]
Windows MSI: Add SKIPAUTOUPDATE property for the skipUpdateCheck setting
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Tue, 29 Sep 2020 17:11:01 +0000 (19:11 +0200)]
Docs: Use our app name in the MSI docs
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Tue, 29 Sep 2020 17:05:39 +0000 (19:05 +0200)]
Windows MSI: Stay compatible with the upstream "StartMenuShortcuts" feature
Even though we only create a program shortcut in the Start Menu, try to make administrators lives easier by not diverging feature and option naming.
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Tue, 29 Sep 2020 17:04:08 +0000 (19:04 +0200)]
Docs: Adopt latest MSI doc enhancements from upstream master
Signed-off-by: Michael Schuster <michael@schuster.ms>
Dominik Schmidt [Tue, 29 Sep 2020 16:21:29 +0000 (18:21 +0200)]
Docs: Adopt upstream commit
fe04300 for MSI installation
See: https://github.com/owncloud/client/commit/
fe043006c8f4a43b033243a85c294d21c7450238
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Tue, 29 Sep 2020 15:59:39 +0000 (17:59 +0200)]
Docs: Update macOS version info
Signed-off-by: Michael Schuster <michael@schuster.ms>
Nextcloud bot [Mon, 5 Oct 2020 03:38:36 +0000 (03:38 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 4 Oct 2020 03:38:54 +0000 (03:38 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 3 Oct 2020 03:40:51 +0000 (03:40 +0000)]
[tx-robot] updated from transifex
Michael Schuster [Fri, 2 Oct 2020 17:30:26 +0000 (19:30 +0200)]
Merge pull request #2497 from nextcloud/fix/mac-folderwatcher-memory-leak
macOS: Fix memory leak in FolderWatcherPrivate::startWatching
Michael Schuster [Thu, 1 Oct 2020 21:38:13 +0000 (23:38 +0200)]
Fix source file access modes
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Tue, 14 Jul 2020 06:54:07 +0000 (08:54 +0200)]
macOS: Fix memory leak in FolderWatcherPrivate::startWatching
Signed-off-by: Michael Schuster <michael@schuster.ms>
Nextcloud bot [Fri, 2 Oct 2020 03:32:41 +0000 (03:32 +0000)]
[tx-robot] updated from transifex
Michael Schuster [Thu, 1 Oct 2020 22:07:45 +0000 (00:07 +0200)]
Merge pull request #2478 from Aldaris1985/patch-1
Update propagateupload.cpp
Aldaris1985 [Mon, 28 Sep 2020 11:00:30 +0000 (19:00 +0800)]
Update propagateupload.cpp
Typo corrected.
Kevin Ottens [Thu, 1 Oct 2020 11:03:09 +0000 (13:03 +0200)]
Merge pull request #2493 from nextcloud/kesselb-patch-1
Delete FUNDING.yml
kesselb [Thu, 1 Oct 2020 09:21:12 +0000 (11:21 +0200)]
Delete FUNDING.yml
Nextcloud bot [Thu, 1 Oct 2020 03:40:09 +0000 (03:40 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Wed, 30 Sep 2020 12:02:27 +0000 (14:02 +0200)]
Merge pull request #2487 from nextcloud/add-talk-icon
Add a clickable icon for Talk notifications.
Camila [Tue, 29 Sep 2020 17:22:43 +0000 (19:22 +0200)]
Add a clickable icon for Talk notifications.
Signed-off-by: Camila <hello@camila.codes>
Nextcloud bot [Wed, 30 Sep 2020 03:39:38 +0000 (03:39 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Tue, 29 Sep 2020 17:58:52 +0000 (19:58 +0200)]
Merge pull request #2272 from snake66/issues/2219/deprecate-foreach
Issues/2219/deprecate foreach
Harald Eilertsen [Tue, 29 Sep 2020 17:23:06 +0000 (19:23 +0200)]
Replace find_if with none_of where appropriate.
We're not interested in any found element in these cases, just to check
that none of the elements matches.
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
Harald Eilertsen [Tue, 29 Sep 2020 16:32:48 +0000 (18:32 +0200)]
Don't hold ref to value returned from function.
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
Harald Eilertsen [Sun, 27 Sep 2020 12:24:19 +0000 (14:24 +0200)]
gui/accountmanager: Make isAccountIdAvailable a bit clearer.
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
Harald Eilertsen [Sun, 27 Sep 2020 11:19:08 +0000 (13:19 +0200)]
gui/folderman: Replace foreach (#2219)
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
Harald Eilertsen [Sun, 27 Sep 2020 11:13:21 +0000 (13:13 +0200)]
gui/folder: Replace foreach (#2219)
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
Harald Eilertsen [Sun, 27 Sep 2020 11:11:22 +0000 (13:11 +0200)]
gui/application: replace foreach (#2219)
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
Harald Eilertsen [Sun, 27 Sep 2020 11:07:34 +0000 (13:07 +0200)]
gui/accountstate: Replace foreach (#2219)
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
Harald Eilertsen [Sat, 15 Aug 2020 12:41:59 +0000 (14:41 +0200)]
gui/accountstate: Replace foreach (#2219)
Most instances have been converted to range based for, but std::find_if
has been used where it made sense.
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
Harald Eilertsen [Sun, 27 Sep 2020 11:02:27 +0000 (13:02 +0200)]
gui/accountmanager: Replace foreach/Q_FOREACH (#2219)
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
Harald Eilertsen [Sun, 27 Sep 2020 11:25:52 +0000 (13:25 +0200)]
cmd: Replace foreach with range base for (#2219)
Signed-off-by: Harald Eilertsen <haraldei@anduin.net>
Camila [Tue, 29 Sep 2020 17:26:06 +0000 (19:26 +0200)]
Merge pull request #2486 from nextcloud/fix-notification
Connect signal guiLog to slot to display systray message.
Camila [Tue, 29 Sep 2020 16:51:48 +0000 (18:51 +0200)]
Correct the object name returned by the api.
The id was always 0 so no new systray messages were displayed.
Signed-off-by: Camila <hello@camila.codes>
Camila [Tue, 29 Sep 2020 15:07:36 +0000 (17:07 +0200)]
Connect signal guiLog to slot to display systray message.
Signed-off-by: Camila <hello@camila.codes>
Kevin Ottens [Tue, 29 Sep 2020 12:43:39 +0000 (14:43 +0200)]
Merge pull request #2485 from nextcloud/Valdnet-patch-1
l10n: Remove space from string text
Valdnet [Tue, 29 Sep 2020 12:39:34 +0000 (14:39 +0200)]
l10n: Remove space from string text
Nextcloud bot [Tue, 29 Sep 2020 03:41:15 +0000 (03:41 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Mon, 28 Sep 2020 14:48:26 +0000 (16:48 +0200)]
Merge pull request #2317 from nextcloud/tray-accessibility
Tray accessibility
Dominique Fuchs [Tue, 15 Sep 2020 14:45:22 +0000 (16:45 +0200)]
emitting signals from Qts Accessibility interaction invocations instead of duplicating actions
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Dominique Fuchs [Tue, 25 Aug 2020 14:52:05 +0000 (16:52 +0200)]
KISS. Removed description for now, instead clarified some Accessible.name
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Dominique Fuchs [Tue, 25 Aug 2020 13:00:19 +0000 (15:00 +0200)]
Added missing qsTr() calls - again
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Dominique Fuchs [Tue, 25 Aug 2020 12:59:10 +0000 (14:59 +0200)]
Added missing qsTr() calls
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Dominique Fuchs [Tue, 25 Aug 2020 11:17:37 +0000 (13:17 +0200)]
Fix typo
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Dominique Fuchs [Tue, 25 Aug 2020 11:16:42 +0000 (13:16 +0200)]
Typo fixes, minor additions
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Dominique Fuchs [Tue, 25 Aug 2020 10:56:24 +0000 (12:56 +0200)]
Re-add wrongly delete action
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Dominique Fuchs [Tue, 25 Aug 2020 10:54:56 +0000 (12:54 +0200)]
Initial accessibility declarations for tray window qml src
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Camila [Mon, 28 Sep 2020 11:02:41 +0000 (13:02 +0200)]
Merge pull request #2477 from nextcloud/free_icon_job
Free IconJob after use
Dan Griffin [Mon, 28 Sep 2020 10:27:16 +0000 (12:27 +0200)]
Free IconJob after use
Signed-off-by: Dan Griffin <github.mk@xiragon.com>
Nextcloud bot [Mon, 28 Sep 2020 03:37:52 +0000 (03:37 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 27 Sep 2020 03:37:06 +0000 (03:37 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 26 Sep 2020 03:38:03 +0000 (03:38 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 25 Sep 2020 03:41:46 +0000 (03:41 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Thu, 24 Sep 2020 12:49:44 +0000 (14:49 +0200)]
Merge pull request #2470 from nextcloud/fix_qt_5_12_tooltip_wrap
Force tooltip wrap mode because it's not enabled in Qt 5.12...
Kevin Ottens [Thu, 24 Sep 2020 12:47:56 +0000 (14:47 +0200)]
Force tooltip wrap mode because it's not enabled in Qt 5.12...
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Nextcloud bot [Thu, 24 Sep 2020 03:38:39 +0000 (03:38 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Wed, 23 Sep 2020 11:15:00 +0000 (13:15 +0200)]
Merge pull request #2409 from jplsek/native-text-render
Use native text rendering for qml windows
Jeremy Plsek [Fri, 11 Sep 2020 00:36:28 +0000 (20:36 -0400)]
Use native text rendering for qml windows
Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
Kevin Ottens [Wed, 23 Sep 2020 07:59:31 +0000 (09:59 +0200)]
Merge pull request #2441 from nextcloud/enh/server-url
Allow server URL to be pre-defined without enforcing it
Michael Schuster [Thu, 17 Sep 2020 01:38:35 +0000 (03:38 +0200)]
Allow server URL to be pre-defined without enforcing it to be used unmodified
APPLICATION_SERVER_URL can be either empty or be specified. This commit adds the new CMake option APPLICATION_SERVER_URL_ENFORCE to decide whether to enforce the
URL's unmodified use (like before, default: ON) or to allow modification by the user (new).
By default APPLICATION_SERVER_URL_ENFORCE is set to ON, to no break with the previous implementation's expectations.
If APPLICATION_SERVER_URL is empty, APPLICATION_SERVER_URL_ENFORCE will be ignored by the Account Wizard.
The previous behaviour confused me a bit with branded builds. When the URL was (usually) specified but not forced, it was simply discarded, forcing the user to
manually supply it.
Signed-off-by: Michael Schuster <michael@schuster.ms>
Nextcloud bot [Wed, 23 Sep 2020 03:37:35 +0000 (03:37 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Tue, 22 Sep 2020 03:37:33 +0000 (03:37 +0000)]
[tx-robot] updated from transifex
Michael Schuster [Mon, 21 Sep 2020 15:35:37 +0000 (17:35 +0200)]
Merge pull request #2369 from nextcloud/enh/windows-msi
Windows: MSI support & Win32 migration tools
Michael Schuster [Wed, 9 Sep 2020 19:01:38 +0000 (21:01 +0200)]
Windows: Win32 migration tools code review
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Sat, 5 Sep 2020 05:35:53 +0000 (07:35 +0200)]
Windows MSI: Add MSI scripts and UI resources
Uses CMake to generate and install all required files in the "msi/" directory.
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Sat, 5 Sep 2020 04:58:48 +0000 (06:58 +0200)]
Windows: Add Win32 stand-alone migration tool NCNavRemove
Removes all Explorer Navigation Pane entries for a given ApplicationName, specified in NavRemove.ini in the working directory.
Also compiles a DLL with the same behaviour that exports:
- RemoveNavigationPaneEntries
Both tool variants are Mutex-protected.
Statically linked, optimized for binary size, no Qt dependencies.
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Sat, 5 Sep 2020 04:30:09 +0000 (06:30 +0200)]
Windows MSI: Add helper DLL and shared migration tools code
The helper DLL will be utilized by Windows Installer with Custom Actions defined in the NCMsiHelper.wxs WiX fragment.
Exports:
- ExecNsisUninstaller
- RemoveNavigationPaneEntries
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Sat, 5 Sep 2020 02:39:05 +0000 (04:39 +0200)]
Windows MSI: Let CMake install Shell Extensions WiX fragment to "msi/"
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Sat, 5 Sep 2020 02:25:49 +0000 (04:25 +0200)]
Windows MSI: Add Upgrade Code and migration tool build options to NEXTCLOUD.cmake
The Upgrade Code is a GUID (specified without brackets) for the MSI package to allow Windows Installer identify existing installations.
New build options (default: OFF):
- BUILD_WIN_MSI: Build all MSI scripts and a required helper DLL (to uninstall NSIS legacy installations and remove Explorer Navigation Pane entries)
- BUILD_WIN_TOOLS: Build additional migration tools (currently NCNavRemove, a stand-alone tool for Explorer entries removal)
The helper DLL and migration tools are set to be statically linked and optimized for binary size.
Signed-off-by: Michael Schuster <michael@schuster.ms>
Kevin Ottens [Mon, 21 Sep 2020 13:40:37 +0000 (15:40 +0200)]
Merge pull request #2431 from jplsek/remove-this-includes
Remove "This includes" due to tooltip order
Jeremy Plsek [Tue, 15 Sep 2020 21:13:36 +0000 (17:13 -0400)]
Remove "This includes" due to tooltip order
Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
Nextcloud bot [Mon, 21 Sep 2020 03:32:07 +0000 (03:32 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 20 Sep 2020 03:31:45 +0000 (03:31 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 19 Sep 2020 03:34:11 +0000 (03:34 +0000)]
[tx-robot] updated from transifex
Michael Schuster [Fri, 18 Sep 2020 18:41:34 +0000 (20:41 +0200)]
Merge pull request #2437 from nextcloud/remove_no_description_available_messages_in_activity_list
If there's no description just say nothing
Kevin Ottens [Wed, 16 Sep 2020 11:38:52 +0000 (13:38 +0200)]
If there's no description just say nothing
Otherwise we get lots of "No description available" lines in the
activity list which is basically noise. Also trains the user to ignore
the secondary line.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Michael Schuster [Fri, 18 Sep 2020 04:44:11 +0000 (06:44 +0200)]
Merge pull request #2445 from nextcloud/fix-mac-catalina-login
Entitlement to sign the QtWebEngineProcess with an exception.
Camila San [Thu, 17 Sep 2020 18:06:52 +0000 (20:06 +0200)]
Entitlement to sign the QtWebEngineProcess with an exception.
Fix for #1793: The problem seems to be related enabling hardened runtime.
This exception allows the webview to load.
Signed-off-by: Camila San <hello@camila.codes>
Nextcloud bot [Fri, 18 Sep 2020 03:30:59 +0000 (03:30 +0000)]
[tx-robot] updated from transifex
Dominique Fuchs [Thu, 17 Sep 2020 14:04:12 +0000 (16:04 +0200)]
Merge pull request #2439 from nextcloud/fix-subfolder-missing-contentsync
Fix missing subdirectory discovery on move operations in macOS
Dominique Fuchs [Wed, 16 Sep 2020 17:50:16 +0000 (19:50 +0200)]
Fix missing subdirectory discovery on move operations in macOS.
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Add qAsConst to avoid detaching
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Changed callchain to find and return possibly coalesced paths
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Removed another qAsConst remnant, more func const-correctness.
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Nextcloud bot [Thu, 17 Sep 2020 04:13:19 +0000 (04:13 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Wed, 16 Sep 2020 11:21:42 +0000 (13:21 +0200)]
Merge pull request #2435 from nextcloud/fix-journal-upgrade-multiple-syncconnections
Fix incomplete journal upgrade from 2.x to 3.x
Dominique Fuchs [Wed, 16 Sep 2020 07:54:36 +0000 (09:54 +0200)]
Do not break out of outer loop when upgrading folders, continue instead
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Remove awkward debug line a.k.a. whoops
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Kevin Ottens [Wed, 16 Sep 2020 07:13:26 +0000 (09:13 +0200)]
Merge pull request #2432 from nextcloud/fix/nsis-language-encoding
Windows: Fix NSIS language encoding (use UTF-8)
Michael Schuster [Wed, 16 Sep 2020 00:53:57 +0000 (02:53 +0200)]
Windows: Remove unused and outdated NSIS Transifex settings
The last translation update from Transifex was done in 2017, so the scripts and settings were never used for Nextcloud.
This commit removes the unused scripts and "Auto-generated" comments in the translation files.
Some files have been modified over time either way and MSI will replace NSIS soon.
Signed-off-by: Michael Schuster <michael@schuster.ms>
Michael Schuster [Wed, 16 Sep 2020 00:38:12 +0000 (02:38 +0200)]
Windows: Fix NSIS language encoding (use UTF-8 instead of Win code pages)
The old conversion to specific code pages caused display errors (see issue #2393 for Russian).
Based on bin/l10n.sh, the files in this commit were converted to UTF-8 using iconv with the following parameters:
iconv -f CP1252 -t UTF-8 -o German.nsh German.nsh
iconv -f CP1252 -t UTF-8 -o Galician.nsh Galician.nsh
iconv -f CP1253 -t UTF-8 -o Greek.nsh Greek.nsh
iconv -f CP1250 -t UTF-8 -o Slovenian.nsh Slovenian.nsh
iconv -f CP1257 -t UTF-8 -o Estonian.nsh Estonian.nsh
iconv -f CP1252 -t UTF-8 -o Italian.nsh Italian.nsh
iconv -f CP1252 -t UTF-8 -o PortugueseBR.nsh PortugueseBR.nsh
iconv -f CP1252 -t UTF-8 -o Spanish.nsh Spanish.nsh
iconv -f CP1252 -t UTF-8 -o Dutch.nsh Dutch.nsh
iconv -f CP1252 -t UTF-8 -o Finnish.nsh Finnish.nsh
iconv -f CP932 -t UTF-8 -o Japanese.nsh Japanese.nsh
iconv -f CP1250 -t UTF-8 -o Slovak.nsh Slovak.nsh
iconv -f CP1254 -t UTF-8 -o Turkish.nsh Turkish.nsh
iconv -f CP1252 -t UTF-8 -o Norwegian.nsh Norwegian.nsh
iconv -f CP852 -t UTF-8 -o Czech.nsh Czech.nsh
The installer script nextcloud.nsi in the client-building repo needs the following line (to be added on top):
Unicode true
Signed-off-by: Michael Schuster <michael@schuster.ms>
Nextcloud bot [Wed, 16 Sep 2020 03:27:56 +0000 (03:27 +0000)]
[tx-robot] updated from transifex
Kevin Ottens [Tue, 15 Sep 2020 13:24:58 +0000 (15:24 +0200)]
Merge pull request #2424 from nextcloud/enable_ci_for_stable_branches
Try to enable the CI on stable branches as well
Kevin Ottens [Tue, 15 Sep 2020 11:44:12 +0000 (13:44 +0200)]
Try to enable the CI on stable branches as well
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Tue, 15 Sep 2020 12:45:29 +0000 (14:45 +0200)]
Merge pull request #2423 from nextcloud/disable_bugprone_forward_declaration_namespace_clang_tidy_check
Disable bugprone-forward-declaration-namespace check
Kevin Ottens [Tue, 15 Sep 2020 11:21:38 +0000 (13:21 +0200)]
Disable bugprone-forward-declaration-namespace check
Turns out this clang-tidy check can give false positives coming from
headers outside the project while it shouldn't.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Tue, 15 Sep 2020 11:50:39 +0000 (13:50 +0200)]
Merge pull request #2412 from jplsek/tooltip-update
Include list info in tooltip
Jeremy Plsek [Fri, 11 Sep 2020 21:59:03 +0000 (17:59 -0400)]
Include list info in tooltip
Also extend the tooltip timeout
Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com>
Kevin Ottens [Tue, 15 Sep 2020 09:03:07 +0000 (11:03 +0200)]
Merge pull request #2417 from nextcloud/fix_menu_popup_in_main_dialog
Fix menu popup in main dialog
Kevin Ottens [Mon, 14 Sep 2020 16:03:57 +0000 (18:03 +0200)]
Make sure menu are closed when button is clicked again
This way we also made sure all the Menu are currently on the same close
policy.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Mon, 14 Sep 2020 15:36:08 +0000 (17:36 +0200)]
Delay binding on the menu width
Indee the MenuItem might not be linked to its Menu at creation time
which will make the binding fail and give a warning. Delay for the menu
availability.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens [Mon, 14 Sep 2020 15:25:20 +0000 (17:25 +0200)]
Remove pre-QQC2.3 workaround
Now that we depend on Qt 5.12 anyway, the count property is available
just fine on the Menu item.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>