mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: move application flags to core/subsurfacehelper.h
These flags are not dive-related, therefore move their declaration to the appropriate header file. Likewise, move their definition from parse-xml.c to subsurfacehelper.c Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
17d21dbf40
commit
2b86fe84f9
6 changed files with 7 additions and 8 deletions
|
|
@ -5,7 +5,6 @@
|
|||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include "errorhelper.h"
|
||||
#include "dive.h" // for quit and force_root
|
||||
#include "gettext.h"
|
||||
#include "qthelper.h"
|
||||
#include "git-access.h"
|
||||
|
|
@ -103,7 +102,7 @@ struct preferences default_prefs = {
|
|||
.extract_video_thumbnails_position = 20, // The first fifth seems like a reasonable place
|
||||
};
|
||||
|
||||
int ignore_bt;
|
||||
int quit, force_root, ignore_bt;
|
||||
#ifdef SUBSURFACE_MOBILE_DESKTOP
|
||||
char *testqml = NULL;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue