mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-13 19:54:10 +01:00
Menu: Add clear history for recently opened
This commit is contained in:
@@ -111,6 +111,14 @@ void Config::set(ConfigKey key, const QVariant& value)
|
||||
emit changed(key);
|
||||
}
|
||||
|
||||
void Config::remove(ConfigKey key)
|
||||
{
|
||||
auto cfg = configStrings[key];
|
||||
m_settings->remove(cfg.name);
|
||||
|
||||
emit changed(key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sync configuration with persistent storage.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user