]> sigrok.org Git - sigrok-qt.git/commitdiff
sr/cli/gtk/qt: s/get_dev_info/dev_info_get/.
authorUwe Hermann <redacted>
Sat, 18 Feb 2012 10:41:21 +0000 (11:41 +0100)
committerUwe Hermann <redacted>
Sat, 18 Feb 2012 10:41:21 +0000 (11:41 +0100)
mainwindow.cpp

index 0c2785a4d673dcfa14b7c0d2e9fbcd9704abd5f7..b7a5d415755098ee5fc4cdd28e6d37207ae51461 100644 (file)
@@ -315,7 +315,7 @@ void MainWindow::on_actionScan_triggered()
 
        setCurrentLA(0 /* TODO */);
 
-       di_num_probes = (char *)dev->plugin->get_dev_info(
+       di_num_probes = (char *)dev->plugin->dev_info_get(
                        dev->plugin_index, SR_DI_NUM_PROBES);
        if (di_num_probes != NULL) {
                setNumChannels(GPOINTER_TO_INT(di_num_probes));
@@ -329,7 +329,7 @@ void MainWindow::on_actionScan_triggered()
        s = QString(tr("Channels: %1")).arg(getNumChannels());
        ui->labelChannels->setText(s);
 
-       samplerates = (struct sr_samplerates *)dev->plugin->get_dev_info(
+       samplerates = (struct sr_samplerates *)dev->plugin->dev_info_get(
                      dev->plugin_index, SR_DI_SAMPLERATES);
        if (!samplerates) {
                /* TODO: Error handling. */