]> sigrok.org Git - pulseview.git/commitdiff
Remove output modules from about dialog.
authorBert Vermeulen <redacted>
Sat, 26 Jul 2014 01:09:04 +0000 (03:09 +0200)
committerBert Vermeulen <redacted>
Sat, 26 Jul 2014 01:09:04 +0000 (03:09 +0200)
PulseView doesn't support output modules at all.

pv/dialogs/about.cpp

index fe0f16a9149a65fd83e2901fe3b59c3f15f250fe..c4827962c59afda9891b62a99cd2268ae8c44234 100644 (file)
@@ -42,7 +42,6 @@ About::About(QWidget *parent) :
 {
        struct sr_dev_driver **drivers;
        struct sr_input_format **inputs;
-       struct sr_output_format **outputs;
 
 #ifdef ENABLE_DECODE
        struct srd_decoder *dec;
@@ -83,16 +82,6 @@ About::About(QWidget *parent) :
                         .arg(QString::fromUtf8(inputs[i]->description)));
        }
 
-       s.append("<tr><td colspan=\"2\"><b>" +
-               tr("Supported output formats:") +
-               "</b></td></tr>");
-       outputs = sr_output_list();
-       for (int i = 0; outputs[i]; ++i) {
-               s.append(QString("<tr><td><i>%1</i></td><td>%2</td></tr>")
-                       .arg(QString::fromUtf8(outputs[i]->id))
-                       .arg(QString::fromUtf8(outputs[i]->description)));
-       }
-
 #ifdef ENABLE_DECODE
        s.append("<tr><td colspan=\"2\"><b>" +
                tr("Supported protocol decoders:") +