Skip to content

Commit db4e44d

Browse files
committed
fixup! refactor: Port to QML modules
1 parent 0542b42 commit db4e44d

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

src/gui/owncloudgui.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,6 @@
2121
#include "settingsdialog.h"
2222
#include "syncconflictsmodel.h"
2323
#include "syncengine.h"
24-
#include "filedetails/datefieldbackend.h"
25-
#include "filedetails/filedetails.h"
26-
#include "filedetails/shareemodel.h"
27-
#include "filedetails/sharemodel.h"
28-
#include "filedetails/sortedsharemodel.h"
29-
#include "tray/sortedactivitylistmodel.h"
30-
#include "tray/syncstatussummary.h"
31-
#include "tray/unifiedsearchresultslistmodel.h"
32-
#include "integration/fileactionsmodel.h"
3324
#include "filesystem.h"
3425

3526
#ifdef WITH_LIBCLOUDPROVIDERS

src/gui/systray.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ void Systray::create()
120120
qWarning() << "has error" << trayWindowComponent.isError();
121121

122122
if(trayWindowComponent.isError()) {
123-
qCWarning(lcSystray) << trayWindowComponent.errorString();
123+
qWarning() << trayWindowComponent.errorString();
124124
} else {
125125
_trayWindow.reset(qobject_cast<QQuickWindow*>(trayWindowComponent.create()));
126126
}

src/gui/tray/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ add_library(nextcloudTray STATIC
2828
usermodel.h
2929
)
3030

31-
target_link_libraries(nextcloudTray PRIVATE nextcloudCore)
31+
target_link_libraries(nextcloudTray PRIVATE nextcloudCore Qt::QmlIntegration)
3232

3333
qt_add_qml_module(nextcloudTray
3434
URI com.nextcloud.desktopclient.tray

src/gui/tray/activitylistmodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#define ACTIVITYLISTMODEL_H
99

1010
#include <QtCore>
11-
#include <qqmlregistration.h>
11+
#include <qqmlintegration.h>
1212

1313
#include "activitydata.h"
1414
#include "accountstate.h"

0 commit comments

Comments
 (0)