Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-desktop
Commits
21120bd1
Commit
21120bd1
authored
Nov 29, 2016
by
Ronan
Browse files
fix(ui/modules/Linphone/Chat/Chat): parent may be `null` in delegate
parent
ffedd50e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
tests/src/app/App.hpp
tests/src/app/App.hpp
+1
-0
tests/ui/modules/Linphone/Chat/Chat.qml
tests/ui/modules/Linphone/Chat/Chat.qml
+2
-3
No files found.
tests/src/app/App.hpp
View file @
21120bd1
...
...
@@ -18,6 +18,7 @@ class App : public QApplication {
public:
static
void
init
(
int
&
argc
,
char
**
argv
)
{
if
(
!
m_instance
)
{
// Instance must be exists before content.
m_instance
=
new
App
(
argc
,
argv
);
m_instance
->
initContentApp
();
}
...
...
tests/ui/modules/Linphone/Chat/Chat.qml
View file @
21120bd1
...
...
@@ -90,9 +90,9 @@ ColumnLayout {
}
anchors
{
left
:
parent
.
left
left
:
parent
?
parent
.
left
:
undefined
leftMargin
:
ChatStyle
.
entry
.
leftMargin
right
:
parent
.
right
right
:
parent
?
parent
.
right
:
undefined
// Ugly. I admit it, but it exists a problem, without these
// lines the extra content message is truncated.
...
...
@@ -106,7 +106,6 @@ ColumnLayout {
ChatStyle
.
entry
.
message
.
outgoing
.
sendIconSize
}
implicitHeight
:
layout
.
height
+
ChatStyle
.
entry
.
bottomMargin
width
:
parent
.
width
// -------------------------------------------------------------
...
...
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