diff options
Diffstat (limited to 'logbook/AD1CCty.cpp')
| -rw-r--r-- | logbook/AD1CCty.cpp | 4 |
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)) { |
