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
93dc8a57
Commit
93dc8a57
authored
Feb 20, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): remove useless `SmartConnect` component
parent
80fdfd23
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
33 deletions
+0
-33
resources.qrc
linphone-desktop/resources.qrc
+0
-1
SmartConnect.qml
linphone-desktop/ui/modules/Common/Helpers/SmartConnect.qml
+0
-31
qmldir
linphone-desktop/ui/modules/Common/qmldir
+0
-1
No files found.
linphone-desktop/resources.qrc
View file @
93dc8a57
...
...
@@ -203,7 +203,6 @@
<file>
ui/modules/Common/Form/TransparentComboBox.qml
</file>
<file>
ui/modules/Common/Form/TransparentTextInput.qml
</file>
<file>
ui/modules/Common/Helpers/InvertedMouseArea.qml
</file>
<file>
ui/modules/Common/Helpers/SmartConnect.qml
</file>
<file>
ui/modules/Common/Image/Icon.qml
</file>
<file>
ui/modules/Common/Image/RoundedImage.qml
</file>
<file>
ui/modules/Common/Menu/ActionMenuEntry.qml
</file>
...
...
linphone-desktop/ui/modules/Common/Helpers/SmartConnect.qml
deleted
100644 → 0
View file @
80fdfd23
import
QtQuick
2.7
import
Utils
1.0
// =============================================================================
Item
{
property
var
handlers
:
({})
function
connect
(
emitter
,
signalName
,
handler
)
{
emitter
[
signalName
].
connect
(
handler
)
if
(
!
handlers
[
signalName
])
{
handlers
[
signalName
]
=
[]
}
handlers
[
signalName
].
push
([
emitter
,
handler
])
}
Component.onDestruction
:
{
for
(
var
signalName
in
handlers
)
{
handlers
[
signalName
].
forEach
(
function
(
value
)
{
var
component
=
value
[
0
][
signalName
]
if
(
component
)
{
component
.
disconnect
(
value
[
1
])
}
})
}
}
}
linphone-desktop/ui/modules/Common/qmldir
View file @
93dc8a57
...
...
@@ -50,7 +50,6 @@ TabButton 1.0 Form/Tab/TabButton.qml
TabContainer 1.0 Form/Tab/TabContainer.qml
InvertedMouseArea 1.0 Helpers/InvertedMouseArea.qml
SmartConnect 1.0 Helpers/SmartConnect.qml
Icon 1.0 Image/Icon.qml
RoundedImage 1.0 Image/RoundedImage.qml
...
...
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