Skip to content

Commit

Permalink
Fix a problem where the app becomes unresponsive for 30sec when a new…
Browse files Browse the repository at this point in the history
…ly installed map is immediately deleted
  • Loading branch information
Stefan Kebekus committed Apr 4, 2020
1 parent 5ef2fec commit d6e620e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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.1)
project(enroute VERSION 1.6.2)
set(APP_ID de.akaflieg_freiburg.enroute)
set(PROJECT_DATE 2020-04-02)
set(PROJECT_DATE 2020-04-04)
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
2 changes: 1 addition & 1 deletion src/Downloadable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void Downloadable::deleteLocalFile() {
bool oldUpdatable = updatable();

emit aboutToChangeLocalFile(_localFileName);
QLockFile lockFile(_localFileName);
QLockFile lockFile(_localFileName + ".lock");
lockFile.lock();
QFile::remove(_localFileName);
lockFile.unlock();
Expand Down
5 changes: 2 additions & 3 deletions src/text/whatsnew.html.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<p>Version ${PROJECT_VERSION} fixes two bugs. Thanks for reporting those
issues!<p>
<p>Version ${PROJECT_VERSION} is a bug-fixing release.<p>

<p>Fly safely and enjoy many happy landings!</p>
<p>Fly safely, <strong>stay healthy</strong> and enjoy many happy landings!</p>

<p>-- Stefan Kebekus.</p>

0 comments on commit d6e620e

Please sign in to comment.