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