]> sigrok.org Git - pulseview.git/commitdiff
Fixed indentation in SamplingBar::update_sample_rate_selector_value
authorJoel Holdsworth <redacted>
Thu, 7 Mar 2013 22:25:06 +0000 (22:25 +0000)
committerUwe Hermann <redacted>
Sat, 9 Mar 2013 10:43:03 +0000 (11:43 +0100)
pv/samplingbar.cpp

index 6eea6d78040af5b8be211e5037294a1e819139bc..10b681732586fc0b555d434a0afdb1a37e4cb4e8 100644 (file)
@@ -211,13 +211,13 @@ void SamplingBar::update_sample_rate_selector_value()
        sr_dev_inst *const sdi = get_selected_device();
        assert(sdi);
 
-        uint64_t *samplerate = NULL;
-        if(sr_config_get(sdi->driver, SR_CONF_SAMPLERATE,
-                (const void**)&samplerate, sdi) != SR_OK) {
-                qDebug() <<
-                        "WARNING: Failed to get value of sample rate";
-                return;
-        }
+       uint64_t *samplerate = NULL;
+       if(sr_config_get(sdi->driver, SR_CONF_SAMPLERATE,
+               (const void**)&samplerate, sdi) != SR_OK) {
+               qDebug() <<
+                               "WARNING: Failed to get value of sample rate";
+               return;
+       }
 
        assert(_sample_rate_value_action);
        assert(_sample_rate_list_action);