diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-26 21:42:26 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-26 21:42:26 +0200 |
| commit | 35ead0aaa5c7a7d9a17ab3dad65cfb9f0252889b (patch) | |
| tree | 887b53e67080383626fd2d21b8e2a122f1f50272 /src/gui_qt.cc | |
| parent | 9ae48fac3ba4592a2257618f0ff5b1ce528499d8 (diff) | |
Add Config::remove
Removes any config value set by Config::set()
Diffstat (limited to 'src/gui_qt.cc')
| -rw-r--r-- | src/gui_qt.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui_qt.cc b/src/gui_qt.cc index 59dc5e1..ec67527 100644 --- a/src/gui_qt.cc +++ b/src/gui_qt.cc @@ -352,6 +352,9 @@ public: settings_->setValue(QString::fromStdString(key), QString::fromStdString(value)); } + void remove(std::string const& key) override { + settings_->remove(QString::fromStdString(key)); + } private: std::unique_ptr<QSettings> settings_; |
