-
Notifications
You must be signed in to change notification settings - Fork 908
Exclude NavigationPaneHelper from non-Windows compile #5288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5288 +/- ##
==========================================
- Coverage 57.63% 57.59% -0.04%
==========================================
Files 139 139
Lines 17596 17596
==========================================
- Hits 10142 10135 -7
- Misses 7454 7461 +7
|
98c1100 to
59940f6
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
|
AppImage file: nextcloud-PR-5288-59940f65dbc40f4823c794e096432faea24a451c-x86_64.AppImage |
mgallien
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@claucambra can you fix the conflicts ?
59940f6 to
036aa21
Compare
Thanks, done |
036aa21 to
6a365d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, but there is also another usage of navigationPaneHelper that breaks compilation:
src/gui/accountsetupfromcommandlinejob.cpp
179: if (folderMan->navigationPaneHelper().showInExplorerNavigationPane()) {
6a365d0 to
c18119f
Compare
Thanks, fixed |
c18119f to
c9dc081
Compare
|
c9dc081 to
a0b702c
Compare
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
a0b702c to
487855b
Compare
|
/backport to stable-3.16 |
|
Artifact containing the AppImage: nextcloud-appimage-pr-5288.zip SHA256 checksum: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
|















Since NavigationPaneHelper only includes functionality relevant to Windows and its introduction causes compile warnings on other platforms, this PR excludes the NPH from non-Windows builds
The ifdefs that cause warnings on other platforms have been modified to fix them if in the future NavigationPaneHelper is used on other platforms too