Compatible with Qt 5.12
This commit is contained in:
parent
7996e01f58
commit
164219ac20
2 changed files with 2 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -68,7 +68,7 @@ int main(int argc, char *argv[])
|
||||||
qmlRegisterType<DesktopSettings>(uri, 1, 0, "DesktopSettings");
|
qmlRegisterType<DesktopSettings>(uri, 1, 0, "DesktopSettings");
|
||||||
qmlRegisterType<Fm>(uri, 1, 0, "Fm");
|
qmlRegisterType<Fm>(uri, 1, 0, "Fm");
|
||||||
qmlRegisterType<ShortCut>(uri, 1, 0, "ShortCut");
|
qmlRegisterType<ShortCut>(uri, 1, 0, "ShortCut");
|
||||||
qmlRegisterAnonymousType<QAction>(uri, 1);
|
// qmlRegisterAnonymousType<QAction>(uri, 1);
|
||||||
|
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
parser.setApplicationDescription(QStringLiteral("File Manager"));
|
parser.setApplicationDescription(QStringLiteral("File Manager"));
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
#include <QItemSelectionModel>
|
#include <QItemSelectionModel>
|
||||||
#include <QQmlParserStatus>
|
#include <QQmlParserStatus>
|
||||||
#include <QQuickItem>
|
#include <QQuickItem>
|
||||||
|
#include <QPointer>
|
||||||
|
|
||||||
#include <KDirLister>
|
#include <KDirLister>
|
||||||
#include <KDirModel>
|
#include <KDirModel>
|
||||||
|
|
Loading…
Reference in a new issue