Browse Source

Fix minimal build

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.11
falkTX 2 years ago
parent
commit
7ade20936f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      plugins/plugins.cpp

+ 2
- 0
plugins/plugins.cpp View File

@@ -745,6 +745,7 @@ void addThemeMenuItems(Menu*, ModuleTheme*) {}
// known terminal modules
std::vector<Model*> hostTerminalModels;

#ifndef NOPLUGINS
// stuff that reads config files, we don't want that
int loadConsoleType() { return 0; }
bool loadDarkAsDefault() { return settings::darkMode; }
@@ -757,6 +758,7 @@ void saveDefaultTheme(ModuleTheme) {}
void saveDirectOutMode(bool) {}
void saveHighQualityAsDefault(bool) {}
void writeDefaultTheme() {}
#endif

// plugin instances
Plugin* pluginInstance__Cardinal;


Loading…
Cancel
Save