diff --git a/main.cpp b/main.cpp index e5da074..c4ede89 100644 --- a/main.cpp +++ b/main.cpp @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) qmlRegisterType(uri, 1, 0, "DesktopSettings"); qmlRegisterType(uri, 1, 0, "Fm"); qmlRegisterType(uri, 1, 0, "ShortCut"); - qmlRegisterAnonymousType(uri, 1); + // qmlRegisterAnonymousType(uri, 1); QCommandLineParser parser; parser.setApplicationDescription(QStringLiteral("File Manager")); diff --git a/model/foldermodel.h b/model/foldermodel.h index b892699..a5027f0 100644 --- a/model/foldermodel.h +++ b/model/foldermodel.h @@ -32,6 +32,7 @@ #include #include #include +#include #include #include