Skip to content

Commit

Permalink
Fix build with libcloudproviders, reported in #8996
Browse files Browse the repository at this point in the history
  • Loading branch information
dragotin committed Sep 15, 2021
1 parent 83e1f9c commit 608c143
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#define APPLICATION_DOTVIRTUALFILE_SUFFIX "." APPLICATION_VIRTUALFILE_SUFFIX
#cmakedefine APPLICATION_CLOUDPROVIDERS_DBUS_NAME "@APPLICATION_CLOUDPROVIDERS_DBUS_NAME@"
#cmakedefine APPLICATION_CLOUDPROVIDERS_DBUS_PATH "@APPLICATION_CLOUDPROVIDERS_DBUS_PATH@"
#cmakedefine WITH_LIBCLOUDPROVIDERS "@WITH_LIBCLOUDPROVIDERS@"

#cmakedefine ZLIB_FOUND @ZLIB_FOUND@

Expand Down
12 changes: 5 additions & 7 deletions src/gui/libcloudproviders/libcloudproviders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@
* for more details.
*/

extern "C" {
#include <cloudproviders/cloudprovidersaccountexporter.h>
#include <cloudproviders/cloudprovidersproviderexporter.h>
#include <gio/gio.h>
#include <glib.h>
}
#include <cloudproviders/cloudprovidersaccountexporter.h>
#include <cloudproviders/cloudprovidersproviderexporter.h>
#include <gio/gio.h>
#include <glib.h>

#include "libcloudproviders.h"
#include "libcloudproviders_p.h"
Expand Down Expand Up @@ -84,7 +82,7 @@ void LibCloudProvidersPrivate::start()

void LibCloudProvidersPrivate::updateExportedFolderList()
{
const auto newFolders = FolderMan::instance()->list();
const auto newFolders = FolderMan::instance()->map().values();
const auto oldFolders = _folderExports.keys();

// Remove folders that are no longer exported
Expand Down

0 comments on commit 608c143

Please sign in to comment.