mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-25 19:41:37 -08:00
First draft of an argument parser.
Possibility to set custom config path.
This commit is contained in:
1 parent
bee570c3cf
commit
2558e6db79
9 files changed
+219
-16
No files matched your search
@@ -105,6 +105,12 @@ Config* Config::instance()
|
||||
return m_instance;
|
||||
}
|
||||
|
||||
void Config::createConfigFromFile(QString file)
|
||||
{
|
||||
Q_ASSERT(!m_instance);
|
||||
m_instance = new Config(file, qApp);
|
||||
}
|
||||
|
||||
void Config::createTempFileInstance()
|
||||
{
|
||||
Q_ASSERT(!m_instance);
|
||||
|
||||
Reference in new issue
Block a user