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
7d726692
Commit
7d726692
authored
Sep 08, 2017
by
nicolas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(App): remove useless `App::executeCommand` function
parent
4a927cfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
App.cpp
src/app/App.cpp
+1
-7
App.hpp
src/app/App.hpp
+0
-1
No files found.
src/app/App.cpp
View file @
7d726692
...
@@ -251,12 +251,6 @@ QString App::getCommandArgument () {
...
@@ -251,12 +251,6 @@ QString App::getCommandArgument () {
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
void
App
::
executeCommand
(
const
QString
&
command
)
{
Cli
::
executeCommand
(
command
);
}
// -----------------------------------------------------------------------------
#ifdef Q_OS_MACOS
#ifdef Q_OS_MACOS
bool
App
::
event
(
QEvent
*
event
)
{
bool
App
::
event
(
QEvent
*
event
)
{
...
@@ -267,7 +261,7 @@ void App::executeCommand (const QString &command) {
...
@@ -267,7 +261,7 @@ void App::executeCommand (const QString &command) {
::
exit
(
EXIT_SUCCESS
);
::
exit
(
EXIT_SUCCESS
);
}
}
executeCommand
(
url
);
Cli
::
executeCommand
(
url
);
}
}
return
SingleApplication
::
event
(
event
);
return
SingleApplication
::
event
(
event
);
...
...
src/app/App.hpp
View file @
7d726692
...
@@ -54,7 +54,6 @@ public:
...
@@ -54,7 +54,6 @@ public:
void
initContentApp
();
void
initContentApp
();
QString
getCommandArgument
();
QString
getCommandArgument
();
void
executeCommand
(
const
QString
&
command
);
#ifdef Q_OS_MACOS
#ifdef Q_OS_MACOS
bool
event
(
QEvent
*
event
)
override
;
bool
event
(
QEvent
*
event
)
override
;
...
...
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