]> sigrok.org Git - sigrok-qt.git/commitdiff
qt: Fix for srd_log_handler_set call
authorJoel Holdsworth <redacted>
Wed, 21 Mar 2012 21:08:44 +0000 (21:08 +0000)
committerJoel Holdsworth <redacted>
Wed, 21 Mar 2012 22:47:25 +0000 (22:47 +0000)
mainwindow.cpp

index d8ed6bcd5e7d5e15d953d5ff90402f228800a94e..a79bd77b61706e640d0765c2a0f5ae08f11bf8c1 100644 (file)
@@ -91,7 +91,7 @@ MainWindow::MainWindow(QWidget *parent)
 
        srd_log_loglevel_set(SRD_LOG_SPEW);
 
-       if (srd_log_handler_set(logger, (void *)this) != SRD_OK) {
+       if (srd_log_callback_set(logger, (void *)this) != SRD_OK) {
                qDebug() << "ERROR: srd_log_handler_set() failed.";
                return; /* TODO? */
        }