projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f3d12f
)
Added missing braces in pv::dialogs::Connect::populate_drivers()
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Mon, 22 Apr 2013 20:41:48 +0000
(21:41 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Mon, 22 Apr 2013 20:41:48 +0000
(21:41 +0100)
pv/dialogs/connect.cpp
patch
|
blob
|
history
diff --git
a/pv/dialogs/connect.cpp
b/pv/dialogs/connect.cpp
index e205c45047c8c07b97bdaa944577b8add97bdf10..02941f2f6785e02efcff07a80a6520c16d8e36d2 100644
(file)
--- a/
pv/dialogs/connect.cpp
+++ b/
pv/dialogs/connect.cpp
@@
-96,7
+96,7
@@
void Connect::populate_drivers()
*/
bool supported_device = false;
if ((sr_config_list(drivers[i], SR_CONF_DEVICE_OPTIONS,
- &gvar_opts, NULL) == SR_OK))
+ &gvar_opts, NULL) == SR_OK))
{
hwopts = (const int32_t *)g_variant_get_fixed_array(gvar_opts,
&num_opts, sizeof(int32_t));
for (unsigned int j = 0; j < num_opts; j++)
@@
-104,6
+104,7
@@
void Connect::populate_drivers()
supported_device = true;
break;
}
+ }
if (supported_device)
_drivers.addItem(QString("%1 (%2)").arg(