From: Soeren Apel Date: Wed, 1 Jul 2015 14:36:32 +0000 (+0200) Subject: HardwareDevice: Whitespace fix X-Git-Tag: pulseview-0.3.0~172 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b8f99b84b701bb086e1d6edb8c32093f3047e31e;p=pulseview.git HardwareDevice: Whitespace fix --- diff --git a/pv/devices/hardwaredevice.cpp b/pv/devices/hardwaredevice.cpp index 953864d5..b98b0e02 100644 --- a/pv/devices/hardwaredevice.cpp +++ b/pv/devices/hardwaredevice.cpp @@ -101,17 +101,17 @@ string HardwareDevice::display_name( void HardwareDevice::create() { // Open the device - try { - device_->open(); - } catch(const sigrok::Error &e) { - throw QString(e.what()); - } + try { + device_->open(); + } catch(const sigrok::Error &e) { + throw QString(e.what()); + } - device_open_ = true; + device_open_ = true; - // Set up the session - session_ = context_->create_session(); - session_->add_device(device_); + // Set up the session + session_ = context_->create_session(); + session_->add_device(device_); } } // namespace devices