diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-07-16 00:30:32 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-07-16 00:30:32 +0200 |
commit | e2ee6d6d254285284f07b07cb60409fbda0bf7ad (patch) | |
tree | 30810ad496b34ae949aba3a72efb0a0363e8b718 /libsettings/src/setting.cpp | |
parent | b5450042b5f9ddaad7585f644591b7d009aeb5cb (diff) | |
download | MultiMC-e2ee6d6d254285284f07b07cb60409fbda0bf7ad.tar MultiMC-e2ee6d6d254285284f07b07cb60409fbda0bf7ad.tar.gz MultiMC-e2ee6d6d254285284f07b07cb60409fbda0bf7ad.tar.lz MultiMC-e2ee6d6d254285284f07b07cb60409fbda0bf7ad.tar.xz MultiMC-e2ee6d6d254285284f07b07cb60409fbda0bf7ad.zip |
Finalize the instance settings dialog, add setting reset mechanism
Diffstat (limited to 'libsettings/src/setting.cpp')
-rw-r--r-- | libsettings/src/setting.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libsettings/src/setting.cpp b/libsettings/src/setting.cpp index 1a4f9e13..8e60af06 100644 --- a/libsettings/src/setting.cpp +++ b/libsettings/src/setting.cpp @@ -47,3 +47,8 @@ void Setting::set(QVariant value) { emit settingChanged(*this, value); } + +void Setting::reset() +{ + emit settingReset(*this); +} |