]> sigrok.org Git - pulseview.git/commitdiff
HardwareDevice: Whitespace fix
authorSoeren Apel <redacted>
Wed, 1 Jul 2015 14:36:32 +0000 (16:36 +0200)
committerSoeren Apel <redacted>
Sat, 18 Jul 2015 20:44:07 +0000 (22:44 +0200)
pv/devices/hardwaredevice.cpp

index 953864d589429fb9fb1c20e05d106de5132f55f9..b98b0e02f8aa9b2e43756af75835d8bae55723b4 100644 (file)
@@ -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