From: Joel Holdsworth Date: Thu, 7 Mar 2013 22:25:06 +0000 (+0000) Subject: Fixed indentation in SamplingBar::update_sample_rate_selector_value X-Git-Tag: pulseview-0.1.0~100 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=eb4008a6aef9447c1442415c77ff33d2b02c2682;p=pulseview.git Fixed indentation in SamplingBar::update_sample_rate_selector_value --- diff --git a/pv/samplingbar.cpp b/pv/samplingbar.cpp index 6eea6d78..10b68173 100644 --- a/pv/samplingbar.cpp +++ b/pv/samplingbar.cpp @@ -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);