diff options
Diffstat (limited to 'kmail/kmfolderdia.h')
-rw-r--r-- | kmail/kmfolderdia.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmail/kmfolderdia.h b/kmail/kmfolderdia.h index 4db30ab12..31fb26d9b 100644 --- a/kmail/kmfolderdia.h +++ b/kmail/kmfolderdia.h @@ -82,12 +82,12 @@ public: /// @return whether save succeeded virtual bool save() = 0; - enum AcceptStatus { Accepted, Canceled, Delayed }; + enum AccepStatus { Accepted, Canceled, Delayed }; /// Called when clicking OK. /// If a module returns Delayed, the closing is cancelled for now, /// and the module can close the dialog later on (i.e. after an async /// operation like a KIO job). - virtual AcceptStatus accept() { + virtual AccepStatus accept() { return save() ? Accepted : Canceled; } |