summaryrefslogtreecommitdiff
path: root/logbook/AD1CCty.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2020-09-28 23:28:26 +0200
committerChristoph Berg <myon@debian.org>2020-09-28 23:28:26 +0200
commitc345880e5818351aec994d60cfb9a42351a4a6bd (patch)
tree82e554ce75a62e7cca37968ee6e8ce08972eef04 /logbook/AD1CCty.cpp
parentd55aefc872a0b03ac40c44e8b7d635dc0fa19f4e (diff)
parent7aa3c56b01768ba7d38fccedc17b30a4046b3fbb (diff)
Update upstream source from tag 'upstream/2.3.0_rc1+repack'
Update to upstream version '2.3.0~rc1+repack' with Debian dir 278ece20e94e89020b1ea45fb83e61a2cecbb31e
Diffstat (limited to 'logbook/AD1CCty.cpp')
-rw-r--r--logbook/AD1CCty.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logbook/AD1CCty.cpp b/logbook/AD1CCty.cpp
index 23d34fb4..4112ddfb 100644
--- a/logbook/AD1CCty.cpp
+++ b/logbook/AD1CCty.cpp
@@ -319,12 +319,12 @@ AD1CCty::AD1CCty (Configuration const * configuration)
{
Q_ASSERT (configuration);
// TODO: G4WJS - consider doing the following asynchronously to
- // speed up startup. Not urgent as it takes less than 1s on a Core
+ // speed up startup. Not urgent as it takes less than 0.5s on a Core
// i7 reading BIG CTY.DAT.
QDir dataPath {QStandardPaths::writableLocation (QStandardPaths::DataLocation)};
m_->path_ = dataPath.exists (file_name)
? dataPath.absoluteFilePath (file_name) // user override
- : QString {":/"} + file_name; // or original in the resources FS
+ : configuration->data_dir ().absoluteFilePath (file_name); // or original
QFile file {m_->path_};
if (file.open (QFile::ReadOnly))
{