summaryrefslogtreecommitdiffhomepage
path: root/gui/curve-config.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-26 17:09:17 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-26 17:19:19 +0200
commitb008aefee41a21b24f1d2f1f23cd6c78b888ede5 (patch)
treefb1d42dbd30c937d956811796856453f29507382 /gui/curve-config.cpp
parent47dec53450dec0264489cddb0005e13593f43399 (diff)
many modules: trivial cleanups only
- Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab
Diffstat (limited to 'gui/curve-config.cpp')
-rw-r--r--gui/curve-config.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/curve-config.cpp b/gui/curve-config.cpp
index 7cd78580..e4396e01 100644
--- a/gui/curve-config.cpp
+++ b/gui/curve-config.cpp
@@ -78,10 +78,10 @@ MapWidget::MapWidget(Mappings& m, main_settings& s) :
void MapWidget::doOK() {
m.save_mappings();
- this->close();
+ close();
}
void MapWidget::doCancel() {
m.invalidate_unsaved();
- this->close();
+ close();
}