shell_integration/dolphin/CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
+diff --git a/shell_integration/dolphin/CMakeLists.txt b/shell_integration/dolphin/CMakeLists.txt
+index 1642c80..e97f08a 100644
--- a/shell_integration/dolphin/CMakeLists.txt
+++ b/shell_integration/dolphin/CMakeLists.txt
-@@ -31,13 +31,14 @@ add_library(${OWNCLOUDDOLPHINHELPER} SHA
+@@ -31,13 +31,14 @@ add_library(${OWNCLOUDDOLPHINHELPER} SHARED
ownclouddolphinpluginhelper.cpp)
target_link_libraries(${OWNCLOUDDOLPHINHELPER} Qt5::Network)
generate_export_header(${OWNCLOUDDOLPHINHELPER} BASE_NAME ownclouddolphinpluginhelper)
#---ACTION PLUGIN---
set(OWNCLOUDDOLPHINACTIONPLUGIN ${APPLICATION_EXECUTABLE}dolphinactionplugin)
-@@ -46,3 +47,4 @@ target_link_libraries(${OWNCLOUDDOLPHINA
+@@ -46,3 +47,4 @@ target_link_libraries(${OWNCLOUDDOLPHINACTIONPLUGIN} KF5::CoreAddons KF5::KIOCor
configure_file(ownclouddolphinactionplugin.desktop.in ${OWNCLOUDDOLPHINACTIONPLUGIN}.desktop ESCAPE_QUOTES @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${OWNCLOUDDOLPHINACTIONPLUGIN}.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS ${OWNCLOUDDOLPHINACTIONPLUGIN} DESTINATION ${KDE_INSTALL_PLUGINDIR})
VERSION.cmake | 5 +++++
2 files changed, 5 insertions(+), 17 deletions(-)
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0176eaf..48eb717 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,29 +73,12 @@ include(GNUInstallDirs)
set(SYSCONFDIR ${SYSCONF_INSTALL_DIR})
set(SHAREDIR ${CMAKE_INSTALL_FULL_DATADIR})
+diff --git a/VERSION.cmake b/VERSION.cmake
+index 54dfc54..ba3acd5 100644
--- a/VERSION.cmake
+++ b/VERSION.cmake
-@@ -29,3 +29,8 @@ set( MIRALL_VERSION_STRING "${MIRALL_VER
+@@ -29,3 +29,8 @@ set( MIRALL_VERSION_STRING "${MIRALL_VERSION}${MIRALL_VERSION_SUFFIX}" )
if( MIRALL_VERSION_BUILD )
set( MIRALL_VERSION_STRING "${MIRALL_VERSION_STRING} (build ${MIRALL_VERSION_BUILD})" )
endif( MIRALL_VERSION_BUILD )
Drop dependency on Qt5::GuiPrivate
---
- src/gui/CMakeLists.txt | 2 +-
- src/gui/generalsettings.cpp | 98 ---------------------------------------------
- src/gui/generalsettings.h | 1 -
- 3 files changed, 1 insertion(+), 100 deletions(-)
+ src/gui/CMakeLists.txt | 5 ---
+ src/gui/generalsettings.cpp | 100 --------------------------------------------
+ src/gui/generalsettings.h | 1 -
+ 3 files changed, 106 deletions(-)
+diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
+index 6ed209e..183ef28 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -9,10 +9,6 @@ if(QUICK_COMPILER)
if(CMAKE_BUILD_TYPE MATCHES Debug)
add_definitions(-DQT_QML_DEBUG)
endif()
-@@ -534,7 +530,6 @@ target_link_libraries(nextcloudCore
+@@ -536,7 +532,6 @@ target_link_libraries(nextcloudCore
PUBLIC
Nextcloud::sync
Qt5::Widgets
Qt5::Svg
Qt5::Network
Qt5::Xml
+diff --git a/src/gui/generalsettings.cpp b/src/gui/generalsettings.cpp
+index 4a7ff30..52f6094 100644
--- a/src/gui/generalsettings.cpp
+++ b/src/gui/generalsettings.cpp
-@@ -34,106 +34,20 @@
+@@ -34,108 +34,20 @@
#include "ignorelisteditor.h"
#include "common/utility.h"
-{
- const auto entries = createFileList();
-
+- // TODO: Port away from this private API (best to port to KArchive)
- QZipWriter zip(filename);
+- zip.setCreationPermissions(zip.creationPermissions() | QFile::ReadOther);
- for (const auto &entry : entries) {
- if (entry.localFilename.isEmpty()) {
- zip.addDirectory(entry.zipFilename);
namespace OCC {
GeneralSettings::GeneralSettings(QWidget *parent)
-@@ -224,7 +138,6 @@ GeneralSettings::GeneralSettings(QWidget
+@@ -226,7 +138,6 @@ GeneralSettings::GeneralSettings(QWidget *parent)
_ui->monoIconsCheckBox->setVisible(Theme::instance()->monoIconsAvailable());
connect(_ui->ignoredFilesButton, &QAbstractButton::clicked, this, &GeneralSettings::slotIgnoreFilesEditor);
// accountAdded means the wizard was finished and the wizard might change some options.
connect(AccountManager::instance(), &AccountManager::accountAdded, this, &GeneralSettings::loadMiscSettings);
-@@ -468,17 +381,6 @@ void GeneralSettings::slotIgnoreFilesEdi
+@@ -470,17 +381,6 @@ void GeneralSettings::slotIgnoreFilesEditor()
}
}
void GeneralSettings::slotShowLegalNotice()
{
auto notice = new LegalNotice();
+diff --git a/src/gui/generalsettings.h b/src/gui/generalsettings.h
+index acc8793..e7176f1 100644
--- a/src/gui/generalsettings.h
+++ b/src/gui/generalsettings.h
@@ -51,7 +51,6 @@ private slots: