mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Theme manager
This is the first implementation of a theme manager. It’s a rebased and revisited version of #792.
This commit is contained in:
parent
5d08236cbe
commit
bdd55db549
64 changed files with 359 additions and 387 deletions
|
|
@ -7,9 +7,11 @@
|
|||
#include "main.h"
|
||||
#include "oraclewizard.h"
|
||||
#include "settingscache.h"
|
||||
#include "thememanager.h"
|
||||
|
||||
QTranslator *translator, *qtTranslator;
|
||||
SettingsCache *settingsCache;
|
||||
ThemeManager *themeManager;
|
||||
|
||||
const QString translationPrefix = "oracle";
|
||||
#ifdef TRANSLATION_PATH
|
||||
|
|
@ -51,6 +53,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
settingsCache = new SettingsCache;
|
||||
themeManager = new ThemeManager;
|
||||
|
||||
qtTranslator = new QTranslator;
|
||||
translator = new QTranslator;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue