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
13a90d74
Commit
13a90d74
authored
Sep 25, 2018
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
8d080e27
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
17 deletions
+0
-17
QGCApplication.cc
src/QGCApplication.cc
+0
-6
QGCApplication.h
src/QGCApplication.h
+0
-8
ScreenToolsController.h
src/QmlControls/ScreenToolsController.h
+0
-3
No files found.
src/QGCApplication.cc
View file @
13a90d74
...
...
@@ -158,9 +158,6 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting)
,
_logOutput
(
false
)
,
_fakeMobile
(
false
)
,
_settingsUpgraded
(
false
)
#ifdef QT_DEBUG
,
_testHighDPI
(
false
)
#endif
,
_toolbox
(
nullptr
)
,
_bluetoothAvailable
(
false
)
{
...
...
@@ -239,9 +236,6 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting)
{
"--logging"
,
&
logging
,
&
loggingOptions
},
{
"--fake-mobile"
,
&
_fakeMobile
,
nullptr
},
{
"--log-output"
,
&
_logOutput
,
nullptr
},
#ifdef QT_DEBUG
{
"--test-high-dpi"
,
&
_testHighDPI
,
nullptr
},
#endif
// Add additional command line option flags here
};
...
...
src/QGCApplication.h
View file @
13a90d74
...
...
@@ -85,10 +85,6 @@ public:
/// @return true: Fake ui into showing mobile interface
bool
fakeMobile
(
void
)
{
return
_fakeMobile
;
}
#ifdef QT_DEBUG
bool
testHighDPI
(
void
)
{
return
_testHighDPI
;
}
#endif
// Still working on getting rid of this and using dependency injection instead for everything
QGCToolbox
*
toolbox
(
void
)
{
return
_toolbox
;
}
...
...
@@ -171,10 +167,6 @@ private:
bool
_fakeMobile
;
///< true: Fake ui into displaying mobile interface
bool
_settingsUpgraded
;
///< true: Settings format has been upgrade to new version
#ifdef QT_DEBUG
bool
_testHighDPI
;
///< true: double fonts sizes for simulating high dpi devices
#endif
QGCToolbox
*
_toolbox
;
QTranslator
_QGCTranslator
;
...
...
src/QmlControls/ScreenToolsController.h
View file @
13a90d74
...
...
@@ -32,7 +32,6 @@ public:
Q_PROPERTY
(
bool
isAndroid
READ
isAndroid
CONSTANT
)
Q_PROPERTY
(
bool
isiOS
READ
isiOS
CONSTANT
)
Q_PROPERTY
(
bool
isMobile
READ
isMobile
CONSTANT
)
Q_PROPERTY
(
bool
testHighDPI
READ
testHighDPI
CONSTANT
)
Q_PROPERTY
(
bool
isDebug
READ
isDebug
CONSTANT
)
Q_PROPERTY
(
bool
isMacOS
READ
isMacOS
CONSTANT
)
Q_PROPERTY
(
bool
isLinux
READ
isLinux
CONSTANT
)
...
...
@@ -89,11 +88,9 @@ public:
#endif
#ifdef QT_DEBUG
bool
testHighDPI
()
{
return
qgcApp
()
->
testHighDPI
();
}
bool
isDebug
()
{
return
true
;
}
#else
bool
isDebug
()
{
return
false
;
}
bool
testHighDPI
()
{
return
false
;
}
#endif
QString
iOSDevice
()
const
;
...
...
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