Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
85ecac9c
Commit
85ecac9c
authored
Mar 27, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(src/app/AsyncObjectBuilder): better code
parent
4ba245d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
AsyncObjectBuilder.cpp
linphone-desktop/src/app/AsyncObjectBuilder.cpp
+0
-2
AsyncObjectBuilder.hpp
linphone-desktop/src/app/AsyncObjectBuilder.hpp
+1
-3
No files found.
linphone-desktop/src/app/AsyncObjectBuilder.cpp
View file @
85ecac9c
...
...
@@ -54,8 +54,6 @@ protected:
QQmlEngine
::
setObjectOwnership
(
object
,
QQmlEngine
::
CppOwnership
);
object
->
setParent
(
m_builder
);
m_builder
->
m_is_created
=
true
;
// Call user decorator.
if
(
m_builder
->
m_decorator
)
m_builder
->
m_decorator
(
object
);
...
...
linphone-desktop/src/app/AsyncObjectBuilder.hpp
View file @
85ecac9c
...
...
@@ -45,7 +45,7 @@ public:
QObject
*
getObject
()
const
;
bool
isCreated
()
const
{
return
m_is_created
;
return
!!
m_object
;
}
signals:
...
...
@@ -61,8 +61,6 @@ private:
QObject
*
m_object
=
nullptr
;
bool
m_is_created
=
false
;
#ifdef QT_DEBUG
bool
m_block_creation
=
false
;
#endif // ifdef QT_DEBUG
...
...
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