]> git.sesse.net Git - nageru/blobdiff - mainwindow.cpp
Add a peak display.
[nageru] / mainwindow.cpp
index 29a863b2456ea568f36e014ae878df607884b753..0fc17b539fc4bad49795e163b8f2965bfc2610cf 100644 (file)
@@ -80,7 +80,9 @@ MainWindow::MainWindow()
        connect(ui->preview1, SIGNAL(transition_names_updated(std::vector<std::string>)),
                this, SLOT(set_transition_names(std::vector<std::string>)));
 
-       global_vu_meter = ui->vu_meter;  // global_mixer does not exist yet, so need to delay the hookup.
+       // global_mixer does not exist yet, so need to delay the actual hookups.
+       global_vu_meter = ui->vu_meter;
+       global_peak_display = ui->peak_display;
 }
 
 void MainWindow::resizeEvent(QResizeEvent* event)