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 baec75f8a..230b4526f 100644 --- a/kmail/kmfolderdia.h +++ b/kmail/kmfolderdia.h @@ -83,12 +83,12 @@ public: /// @return whether save succeeded virtual bool save() = 0; - enum AccepStatus { Accepted, Canceled, Delayed }; + enum AcceptqStatus { 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 AccepStatus accept() { + virtual AcceptqStatus accept() { return save() ? Accepted : Canceled; } |