Skip to content

Commit

Permalink
Fixes one issue found by Johannes Zellner. Thanks!
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kebekus committed Apr 2, 2020
1 parent 854654e commit e8496b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ option(BUILD_DOC "Build documentation" OFF)
# Project data
#

project(enroute VERSION 1.6.0)
project(enroute VERSION 1.6.1)
set(APP_ID de.akaflieg_freiburg.enroute)
set(PROJECT_DATE 2020-03-31)
set(PROJECT_DATE 2020-04-02)
math(EXPR PROJECT_VERSION_CODE 10000*${PROJECT_VERSION_MAJOR}+100*${PROJECT_VERSION_MINOR}+${PROJECT_VERSION_PATCH})
add_compile_definitions(PROJECT_VERSION="${PROJECT_VERSION}")

Expand Down
4 changes: 2 additions & 2 deletions src/GlobalSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class GlobalSettings : public QObject
*
* @param accepted Property acceptedTerms
*/
void setAcceptedTerms(int accepted);
void setAcceptedTerms(int terms);

/*! \brief Find out if "What's new" should be shown
*
Expand All @@ -104,7 +104,7 @@ class GlobalSettings : public QObject
*
* @param hUA Property hideUpperAirspaces
*/
void setHideUpperAirspaces(bool hUA);
void setHideUpperAirspaces(bool hide);

/*! \brief Hide airspaces with lower bound FL100 or above */
Q_PROPERTY(bool keepScreenOn READ keepScreenOn WRITE setKeepScreenOn NOTIFY keepScreenOnChanged)
Expand Down
9 changes: 0 additions & 9 deletions src/qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -381,15 +381,6 @@ ApplicationWindow {
onDetected: MobileAdaptor.vibrateBrief()
}

Connections {
target: view
onActiveChanged: {
if (Qt.platform.os === "android" && view.active) {
share.checkPendingIntents()
}
}
}

// enroute closed unexpectedly if...
// * the "route" page is open
// * the route menu is opened
Expand Down

0 comments on commit e8496b8

Please sign in to comment.