mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
downloader: set default logfile name
This way we always get a libdivecomputer log. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
df9a52d857
commit
409a8c7223
1 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
#include "core/subsurface-string.h"
|
||||
#include "core/file.h"
|
||||
#include "core/trip.h"
|
||||
#inclide "core/libdivecomputer.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QLoggingCategory>
|
||||
|
@ -44,7 +45,8 @@ int main(int argc, char **argv)
|
|||
struct device_table devices;
|
||||
struct filter_preset_table presets;
|
||||
|
||||
|
||||
// set a default logfile name for libdivecomputer so we always get a logfile
|
||||
logfile_name = "subsurface-downloader.log";
|
||||
|
||||
const char *default_directory = system_default_directory();
|
||||
const char *default_filename = system_default_filename();
|
||||
|
|
Loading…
Reference in a new issue