Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Filelight
Commits
48e77e3d
Commit
48e77e3d
authored
Oct 29, 2022
by
Nicolas Fella
Browse files
Port away from KDeclarative
It doesn't do anything useful
parent
f952fbd4
Pipeline
#257486
passed with stage
in 3 minutes and 46 seconds
Changes
4
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
.kde-ci.yml
View file @
48e77e3d
...
...
@@ -10,7 +10,6 @@ Dependencies:
'
frameworks/kxmlgui'
:
'
@stable'
'
frameworks/kcrash'
:
'
@stable'
'
frameworks/kio'
:
'
@stable'
'
frameworks/kdeclarative'
:
'
@stable'
Options
:
require-passing-tests-on
:
[
'
Linux'
,
'
FreeBSD'
,
'
Windows'
]
CMakeLists.txt
View file @
48e77e3d
...
...
@@ -44,7 +44,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
XmlGui
# For app
KIO
# For part
I18n
Declarative
)
find_package
(
KF5DocTools
)
# Optional, not needed on Windows for example.
...
...
src/CMakeLists.txt
View file @
48e77e3d
...
...
@@ -69,7 +69,6 @@ target_link_libraries(filelight
KF5::I18n
KF5::XmlGui
KF5::KIOWidgets
# Only used for KDirLister, may be able to move away from that.
KF5::Declarative
Qt
${
QT_MAJOR_VERSION
}
::Svg
Qt
${
QT_MAJOR_VERSION
}
::Quick
Qt
${
QT_MAJOR_VERSION
}
::QuickControls2
...
...
src/mainContext.cpp
View file @
48e77e3d
...
...
@@ -10,7 +10,6 @@
#include
<KAboutData>
#include
<KActionCollection>
#include
<KDeclarative/KDeclarative>
#include
<KIO/Global>
// upUrl
#include
<KLocalizedString>
#include
<KMessageBox>
//::start()
...
...
@@ -58,7 +57,6 @@ MainContext::MainContext(QObject *parent)
static
auto
l10nContext
=
new
KLocalizedContext
(
engine
);
l10nContext
->
setTranslationDomain
(
QStringLiteral
(
TRANSLATION_DOMAIN
));
engine
->
rootContext
()
->
setContextObject
(
l10nContext
);
KDeclarative
::
KDeclarative
::
setupEngine
(
engine
);
auto
about
=
new
About
(
this
);
qRegisterMetaType
<
size_t
>
(
"size_t"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment