Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Maui
Communicator
Commits
90bde396
Commit
90bde396
authored
Nov 05, 2020
by
camilo higuita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'development' of
https://invent.kde.org/maui/communicator
into development
parents
5166028a
572a8ba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
src/main.cpp
src/main.cpp
+0
-3
No files found.
src/main.cpp
View file @
90bde396
...
...
@@ -18,10 +18,8 @@
#endif
#if defined Q_OS_MACOS || defined Q_OS_WIN
#include <KF5/KI18n/KLocalizedContext>
#include <KF5/KI18n/KLocalizedString>
#else
#include <KI18n/KLocalizedContext>
#include <KI18n/KLocalizedString>
#endif
...
...
@@ -93,7 +91,6 @@ int main(int argc, char *argv[])
#ifdef STATIC_MAUIKIT
MauiKit
::
getInstance
().
registerTypes
();
#endif
engine
.
rootContext
()
->
setContextObject
(
new
KLocalizedContext
(
&
engine
));
engine
.
addImageProvider
(
"contact"
,
new
ContactImage
(
QQuickImageProvider
::
ImageType
::
Image
));
qmlRegisterType
<
ContactsModel
>
(
COMMUNICATOR_URI
,
1
,
0
,
"ContactsList"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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