Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
more commenting out uwallpaper
Browse files Browse the repository at this point in the history
  • Loading branch information
demmm committed Apr 17, 2023
1 parent d925a18 commit 51224c8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions croeso.pro
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
QT += qml quick quickcontrols2 webview

TEMPLATE = app
# TEMPLATE = app

CONFIG += c++17
unix: CONFIG += link_pkgconfig
unix: PKGCONFIG += Magick++

SOURCES += main.cpp \
wallpaper/unsplash.cpp \
wallpaper/photo.cpp \
wallpaper/photolist.cpp \
wallpaper/photosavethread.cpp \
wallpaper/filesystem.cpp \
wallpaper/localphotolist.cpp
SOURCES += main.cpp
# wallpaper/unsplash.cpp \
# wallpaper/photo.cpp \
# wallpaper/photolist.cpp \
# wallpaper/photosavethread.cpp \
# wallpaper/filesystem.cpp \
# wallpaper/localphotolist.cpp

RESOURCES += qml.qrc

Expand Down
10 changes: 5 additions & 5 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ int main(int argc, char *argv[])
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
QGuiApplication app(argc, argv);

FileSystem::init();
//FileSystem::init();

QQuickStyle::setStyle("Material");

Expand All @@ -40,10 +40,10 @@ int main(int argc, char *argv[])
app.installTranslator(&appTranslator);

// Register C++ class in QML
qmlRegisterType<Unsplash>("Unwallpaper", 1, 0, "Unsplash");
qmlRegisterType<Photo>("Unwallpaper", 1, 0, "PhotoModel");
qmlRegisterType<PhotoList>("Unwallpaper", 1, 0, "PhotoListModel");
qmlRegisterType<LocalPhotoList>("Unwallpaper", 1, 0, "LocalPhotoListModel");
//qmlRegisterType<Unsplash>("Unwallpaper", 1, 0, "Unsplash");
//qmlRegisterType<Photo>("Unwallpaper", 1, 0, "PhotoModel");
//qmlRegisterType<PhotoList>("Unwallpaper", 1, 0, "PhotoListModel");
//qmlRegisterType<LocalPhotoList>("Unwallpaper", 1, 0, "LocalPhotoListModel");

QQmlApplicationEngine engine;
engine.load(QUrl(QLatin1String("qrc:/main.qml")));
Expand Down

0 comments on commit 51224c8

Please sign in to comment.