refs #883, class for storing the launcher state

* removed DBus setting (causing crash as it was shared among launcher/pilot client, so using cache)
* also remember UI values
This commit is contained in:
Klaus Basan
2017-02-17 20:00:59 +01:00
committed by Mathew Sutcliffe
parent 92100c85f7
commit d918ee4cfd
8 changed files with 184 additions and 21 deletions

View File

@@ -21,16 +21,6 @@ namespace BlackCore
{
namespace Application
{
//! DBus server address
struct TDBusServerAddress : public BlackMisc::TSettingTrait<QString>
{
//! \copydoc BlackMisc::TSettingTrait::key
static const char *key() { return "network/dbusserver"; }
//! \copydoc BlackMisc::TSettingTrait::defaultValue
static const QString &defaultValue() { static const QString dv("session"); return dv; }
};
//! User configured hotkeys
struct TActionHotkeys : public BlackMisc::TSettingTrait<BlackMisc::Input::CActionHotkeyList>
{
@@ -101,7 +91,6 @@ namespace BlackCore
//! \copydoc BlackCore::TSettingTrait::defaultValue
static bool defaultValue() { return true; }
};
} // ns
} // ns