diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2021-03-06 20:26:21 +0100 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2021-03-06 20:29:50 +0100 |
| commit | 0396fdb01d12e51bd2cc63478819b366c0453d29 (patch) | |
| tree | 082fcd53b7b61c0dc2a0dc6b676729e155c07fd2 /src/protocols/filehandler.cpp | |
| parent | 21c821c49ef82d1e84b0b9c8c3d357dc559479d4 (diff) | |
| download | kristall-0396fdb01d12e51bd2cc63478819b366c0453d29.tar.gz | |
Moves all globals into a structure that can be deleted before the app exists. Fixes #193.
Diffstat (limited to 'src/protocols/filehandler.cpp')
| -rw-r--r-- | src/protocols/filehandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/filehandler.cpp b/src/protocols/filehandler.cpp index dfb6243..9e76dcd 100644 --- a/src/protocols/filehandler.cpp +++ b/src/protocols/filehandler.cpp @@ -38,7 +38,7 @@ bool FileHandler::startRequest(const QUrl &url, RequestOptions options) page += QString("# Index of %1\n").arg(url.path()); auto filters = QDir::Dirs | QDir::Files | QDir::NoDot; - if (kristall::options.show_hidden_files_in_dirs) filters |= QDir::Hidden; + if (kristall::globals().options.show_hidden_files_in_dirs) filters |= QDir::Hidden; dir.setFilter(filters); // Iterate over files in the directory, and add links to each. |
