diff options
Diffstat (limited to 'ui/qt/main_window.h')
-rw-r--r-- | ui/qt/main_window.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h index a13aa052e2..311005c8f0 100644 --- a/ui/qt/main_window.h +++ b/ui/qt/main_window.h @@ -121,10 +121,10 @@ private: CopySelectedValue }; - enum FileCloseButtons { - DefaultButtons, - QuitButtons, - RestartButtons + enum FileCloseContext { + Default, + Quit, + Restart }; Ui::MainWindow *main_ui_; @@ -186,7 +186,7 @@ private: void exportDissections(export_type_e export_type); void fileAddExtension(QString &file_name, int file_type, bool compressed); - bool testCaptureFileClose(QString before_what = QString(), FileCloseButtons buttons = DefaultButtons); + bool testCaptureFileClose(QString before_what, FileCloseContext context = Default); void captureStop(); void initMainToolbarIcons(); |