Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
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
Valentin Platzgummer
qgroundcontrol
Commits
3c0c2607
Commit
3c0c2607
authored
Apr 05, 2016
by
Nate Weibley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install message handler on mobile too
parent
bc19757e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
main.cc
src/main.cc
+2
-3
No files found.
src/main.cc
View file @
3c0c2607
...
@@ -37,12 +37,12 @@ This file is part of the QGROUNDCONTROL project
...
@@ -37,12 +37,12 @@ This file is part of the QGROUNDCONTROL project
#include <QtPlugin>
#include <QtPlugin>
#include <QStringListModel>
#include <QStringListModel>
#include "QGCApplication.h"
#include "QGCApplication.h"
#include "AppMessages.h"
#define SINGLE_INSTANCE_PORT 14499
#define SINGLE_INSTANCE_PORT 14499
#ifndef __mobile__
#ifndef __mobile__
#include "QGCSerialPortInfo.h"
#include "QGCSerialPortInfo.h"
#include "AppMessages.h"
#endif
#endif
#ifdef QT_DEBUG
#ifdef QT_DEBUG
...
@@ -114,11 +114,10 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved)
...
@@ -114,11 +114,10 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved)
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
#ifndef __mobile__
// install the message handler
// install the message handler
AppMessages
::
installHandler
();
AppMessages
::
installHandler
();
#ifndef __mobile__
//-- Test for another instance already running. If that's the case, we simply exit.
//-- Test for another instance already running. If that's the case, we simply exit.
QHostAddress
host
(
"127.0.0.1"
);
QHostAddress
host
(
"127.0.0.1"
);
QUdpSocket
socket
;
QUdpSocket
socket
;
...
...
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