aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/export_object_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/export_object_dialog.cpp')
-rw-r--r--ui/qt/export_object_dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/export_object_dialog.cpp b/ui/qt/export_object_dialog.cpp
index f0057998dd..da0b05fb55 100644
--- a/ui/qt/export_object_dialog.cpp
+++ b/ui/qt/export_object_dialog.cpp
@@ -113,10 +113,10 @@ void ExportObjectDialog::accept()
// Don't close the dialog.
}
-void ExportObjectDialog::captureEvent(CaptureEvent *e)
+void ExportObjectDialog::captureEvent(CaptureEvent e)
{
- if ((e->captureContext() == CaptureEvent::File) &&
- (e->eventType() == CaptureEvent::Closing))
+ if ((e.captureContext() == CaptureEvent::File) &&
+ (e.eventType() == CaptureEvent::Closing))
{
close();
}