--- a/shell_integration/dolphin/CMakeLists.txt
+++ b/shell_integration/dolphin/CMakeLists.txt
-@@ -29,13 +29,14 @@ set(OWNCLOUDDOLPHINHELPER ${APPLICATION_
- add_library(${OWNCLOUDDOLPHINHELPER} SHARED ownclouddolphinpluginhelper.cpp)
+@@ -31,13 +31,14 @@ add_library(${OWNCLOUDDOLPHINHELPER} SHA
+ ownclouddolphinpluginhelper.cpp)
target_link_libraries(${OWNCLOUDDOLPHINHELPER} Qt5::Network)
generate_export_header(${OWNCLOUDDOLPHINHELPER} BASE_NAME ownclouddolphinpluginhelper)
-install(TARGETS ${OWNCLOUDDOLPHINHELPER} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
#---ACTION PLUGIN---
set(OWNCLOUDDOLPHINACTIONPLUGIN ${APPLICATION_EXECUTABLE}dolphinactionplugin)
-@@ -44,3 +45,4 @@ target_link_libraries(${OWNCLOUDDOLPHINA
+@@ -46,3 +47,4 @@ target_link_libraries(${OWNCLOUDDOLPHINA
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})
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
-@@ -1,8 +1,5 @@
- project(gui)
- find_package(Qt5 REQUIRED COMPONENTS Widgets Svg Qml Quick QuickControls2 Xml Network)
+@@ -9,10 +9,6 @@ if(QUICK_COMPILER)
+ )
+ endif()
+
-if (NOT TARGET Qt5::GuiPrivate)
- message(FATAL_ERROR "Could not find GuiPrivate component of Qt5. It might be shipped as a separate package, please check that.")
-endif()
-
+-
if(CMAKE_BUILD_TYPE MATCHES Debug)
add_definitions(-DQT_QML_DEBUG)
-@@ -435,7 +432,6 @@ target_link_libraries(nextcloudCore
+ endif()
+@@ -534,7 +530,6 @@ target_link_libraries(nextcloudCore
PUBLIC
Nextcloud::sync
Qt5::Widgets
Qt5::Xml
--- a/src/gui/generalsettings.cpp
+++ b/src/gui/generalsettings.cpp
-@@ -34,108 +34,22 @@
+@@ -34,106 +34,20 @@
#include "ignorelisteditor.h"
#include "common/utility.h"
-#include "logger.h"
- #include "config.h"
-
#include "legalnotice.h"
-#include <QFileDialog>
namespace OCC {
GeneralSettings::GeneralSettings(QWidget *parent)
-@@ -222,7 +136,6 @@ GeneralSettings::GeneralSettings(QWidget
+@@ -224,7 +138,6 @@ GeneralSettings::GeneralSettings(QWidget
_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);
-@@ -419,17 +332,6 @@ void GeneralSettings::slotIgnoreFilesEdi
+@@ -468,17 +381,6 @@ void GeneralSettings::slotIgnoreFilesEdi
}
}
auto notice = new LegalNotice();
--- a/src/gui/generalsettings.h
+++ b/src/gui/generalsettings.h
-@@ -48,7 +48,6 @@ private slots:
- void slotToggleOptionalServerNotifications(bool);
+@@ -51,7 +51,6 @@ private slots:
+ void slotToggleCallNotifications(bool);
void slotShowInExplorerNavigationPane(bool);
void slotIgnoreFilesEditor();
- void slotCreateDebugArchive();