Modified header guards to match file names
[pulseview.git] / pv / mainwindow.cpp
index 0fef1bdabf1ec525c897f0a72f4e0f6860504d24..039f4aeb7b3c9871f66cd8ebddf78ca69cc0d5c8 100644 (file)
@@ -326,7 +326,7 @@ void MainWindow::setup_ui()
        setMenuBar(menu_bar);
        QMetaObject::connectSlotsByName(this);
 
-       // Setup the sampling bar
+       // Setup the toolbar
        main_bar_ = new toolbars::MainBar(session_, *this);
 
        // Populate the device list and select the initially selected device
@@ -527,7 +527,9 @@ void MainWindow::on_actionSaveAs_triggered()
        const QString abs_path = QFileInfo(file_name).absolutePath();
        settings.setValue(SettingSaveDirectory, abs_path);
 
-       StoreProgress *dlg = new StoreProgress(file_name, session_, this);
+       StoreProgress *dlg = new StoreProgress(file_name,
+               device_manager_.context()->output_formats()["srzip"],
+               session_, this);
        dlg->run();
 }