mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
add debug settings; option to show cardIds (#5404)
* add debug settings; option to show cardIds * pass param by const ref * change group structure again * create debug.ini if not exists
This commit is contained in:
parent
62f60867a9
commit
f924b04efd
7 changed files with 50 additions and 2 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include "../utility/macros.h"
|
||||
#include "card_database_settings.h"
|
||||
#include "card_override_settings.h"
|
||||
#include "debug_settings.h"
|
||||
#include "download_settings.h"
|
||||
#include "game_filters_settings.h"
|
||||
#include "layouts_settings.h"
|
||||
|
|
@ -86,6 +87,7 @@ private:
|
|||
DownloadSettings *downloadSettings;
|
||||
RecentsSettings *recentsSettings;
|
||||
CardOverrideSettings *cardOverrideSettings;
|
||||
DebugSettings *debugSettings;
|
||||
|
||||
QByteArray mainWindowGeometry;
|
||||
QByteArray tokenDialogGeometry;
|
||||
|
|
@ -619,6 +621,10 @@ public:
|
|||
{
|
||||
return *cardOverrideSettings;
|
||||
}
|
||||
DebugSettings &debug() const
|
||||
{
|
||||
return *debugSettings;
|
||||
}
|
||||
bool getIsPortableBuild() const
|
||||
{
|
||||
return isPortableBuild;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue