From: Joel Holdsworth Date: Tue, 1 Jan 2013 19:47:24 +0000 (+0000) Subject: Fixed pv::dialogs::About to accomodate 42515b0f in libsigrokdecode X-Git-Tag: pulseview-0.1.0~170 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=83259518cae8c8e51ebbe1edba742ac8733ca76a;p=pulseview.git Fixed pv::dialogs::About to accomodate 42515b0f in libsigrokdecode --- diff --git a/pv/dialogs/about.cpp b/pv/dialogs/about.cpp index a7778549..9195b83b 100644 --- a/pv/dialogs/about.cpp +++ b/pv/dialogs/about.cpp @@ -41,7 +41,6 @@ About::About(QWidget *parent) : QDialog(parent), ui(new Ui::About) { - GSList *l; struct sr_dev_driver **drivers; struct sr_input_format **inputs; struct sr_output_format **outputs; @@ -93,7 +92,7 @@ About::About(QWidget *parent) : s.append("" + tr("Supported protocol decoders:") + ""); - for (l = srd_decoder_list(); l; l = l->next) { + for (const GSList *l = srd_decoder_list(); l; l = l->next) { dec = (struct srd_decoder *)l->data; s.append(QString("%1%2") .arg(QString(dec->id))