The list of connections is now saved and loaded on program shutdown and start.
This commit is contained in:
parent
cf4d6e769b
commit
7181c7f1e7
8 changed files with 128 additions and 44 deletions
|
|
@ -56,14 +56,14 @@ ConnectionConfig::ConnectionConfig()
|
|||
, m_values(s_keywords.size(), nullptr)
|
||||
{}
|
||||
|
||||
void ConnectionConfig::setDescription(std::string desc)
|
||||
void ConnectionConfig::setName(std::string desc)
|
||||
{
|
||||
m_description = std::move(desc);
|
||||
m_name = std::move(desc);
|
||||
}
|
||||
|
||||
const std::string& ConnectionConfig::description() const
|
||||
const std::string& ConnectionConfig::name() const
|
||||
{
|
||||
return m_description;
|
||||
return m_name;
|
||||
}
|
||||
|
||||
void ConnectionConfig::setHost(std::string host)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue