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
13bea18e
Commit
13bea18e
authored
Jun 13, 2017
by
Wescoeur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(src/app/App): remove `convertUrlToLocalPath` function
parent
2f59a66a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
6 deletions
+1
-6
App.cpp
linphone-desktop/src/app/App.cpp
+0
-4
App.hpp
linphone-desktop/src/app/App.hpp
+0
-1
ContactEdit.js
linphone-desktop/ui/views/App/Main/ContactEdit.js
+1
-1
No files found.
linphone-desktop/src/app/App.cpp
View file @
13bea18e
...
...
@@ -273,10 +273,6 @@ void App::checkForUpdate () {
CoreManager
::
getInstance
()
->
getCore
()
->
checkForUpdate
(
LINPHONE_QT_GIT_VERSION
);
}
QString
App
::
convertUrlToLocalPath
(
const
QUrl
&
url
)
{
return
QDir
::
toNativeSeparators
(
url
.
toLocalFile
());
}
// -----------------------------------------------------------------------------
bool
App
::
hasFocus
()
const
{
...
...
linphone-desktop/src/app/App.hpp
View file @
13bea18e
...
...
@@ -79,7 +79,6 @@ public:
Q_INVOKABLE
static
void
smartShowWindow
(
QQuickWindow
*
window
);
Q_INVOKABLE
static
void
checkForUpdate
();
Q_INVOKABLE
static
QString
convertUrlToLocalPath
(
const
QUrl
&
url
);
public
slots
:
void
quit
();
...
...
linphone-desktop/ui/views/App/Main/ContactEdit.js
View file @
13bea18e
...
...
@@ -119,7 +119,7 @@ function cancel () {
// -----------------------------------------------------------------------------
function
setAvatar
(
url
)
{
contactEdit
.
_vcard
.
avatar
=
Linphone
.
App
.
convertUrlToLocalPath
(
url
)
contactEdit
.
_vcard
.
avatar
=
Utils
.
getSystemPathFromUri
(
url
)
}
function
setUsername
(
username
)
{
...
...
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