diff options
Diffstat (limited to 'ui/qt/export_object_action.cpp')
-rw-r--r-- | ui/qt/export_object_action.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/qt/export_object_action.cpp b/ui/qt/export_object_action.cpp index e1beb5471d..a19b6aaef4 100644 --- a/ui/qt/export_object_action.cpp +++ b/ui/qt/export_object_action.cpp @@ -25,17 +25,17 @@ ExportObjectAction::ExportObjectAction(QObject *parent, register_eo_t *eo) : eo_(eo) { if (eo_) { - setText( QString("%1%2").arg(proto_get_protocol_short_name(find_protocol_by_id(get_eo_proto_id(eo)))).arg(UTF8_HORIZONTAL_ELLIPSIS)); + setText(QString("%1%2").arg(proto_get_protocol_short_name(find_protocol_by_id(get_eo_proto_id(eo)))).arg(UTF8_HORIZONTAL_ELLIPSIS)); } } void ExportObjectAction::captureFileEvent(CaptureEvent e) { - if ( e.captureContext() == CaptureEvent::File ) + if (e.captureContext() == CaptureEvent::File) { - if ( e.eventType() == CaptureEvent::Opened ) + if (e.eventType() == CaptureEvent::Opened) setEnabled(true); - else if ( e.eventType() == CaptureEvent::Closed ) + else if (e.eventType() == CaptureEvent::Closed) setEnabled(false); } } |