Преглед изворни кода

shell_integration/dolphin: Silence some warnings

Olivier Goffart пре 8 година
родитељ
комит
1c721e9422

+ 1 - 0
shell_integration/dolphin/CMakeLists.txt

@@ -19,6 +19,7 @@ set_package_properties(DolphinVcs PROPERTIES
     PURPOSE "Provides plugin interfaces for Dolphin."
 )
 
+set(KDE_INSTALL_DIRS_NO_DEPRECATED TRUE)
 include(KDEInstallDirs)
 include(KDECMakeSettings)
 include(KDECompilerSettings)

+ 1 - 0
shell_integration/dolphin/ownclouddolphinactionplugin.cpp

@@ -31,6 +31,7 @@
 
 class OwncloudDolphinPluginAction : public KAbstractFileItemActionPlugin
 {
+    Q_OBJECT
 public:
     explicit OwncloudDolphinPluginAction(QObject* parent, const QList<QVariant>&)
         : KAbstractFileItemActionPlugin(parent) { }