mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34: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
17
cockatrice/src/settings/debug_settings.h
Normal file
17
cockatrice/src/settings/debug_settings.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef DEBUG_SETTINGS_H
|
||||
#define DEBUG_SETTINGS_H
|
||||
#include "settings_manager.h"
|
||||
|
||||
class DebugSettings : public SettingsManager
|
||||
{
|
||||
Q_OBJECT
|
||||
friend class SettingsCache;
|
||||
|
||||
explicit DebugSettings(const QString &settingPath, QObject *parent = nullptr);
|
||||
DebugSettings(const DebugSettings & /*other*/);
|
||||
|
||||
public:
|
||||
bool getShowCardId();
|
||||
};
|
||||
|
||||
#endif // DEBUG_SETTINGS_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue