summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Daniel <cd@maintech.de>2013-11-17 09:12:40 +0100
committerChristian Daniel <cd@maintech.de>2013-11-17 09:12:40 +0100
commitda2ae2ad27345a45db04f89145b0280697a767f1 (patch)
treee2bb15cf27d0fa17aecf7903067bb0eec711085a
parenteeb7a07683c3a9b84304748f609019046cc696e3 (diff)
revert changes that depend on other modifications
-rw-r--r--sdrbase/mainwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sdrbase/mainwindow.cpp b/sdrbase/mainwindow.cpp
index 815f30b..9cbfb0f 100644
--- a/sdrbase/mainwindow.cpp
+++ b/sdrbase/mainwindow.cpp
@@ -490,8 +490,7 @@ void MainWindow::on_action_Oscilloscope_triggered()
QDockWidget* dock = new QDockWidget(tr("Signalscope"), this);
dock->setObjectName(QString::fromUtf8("scopeDock"));
- m_scopeWindow = new ScopeWindow();
- m_scopeWindow->setDSPEngine(m_dspEngine);
+ m_scopeWindow = new ScopeWindow(m_dspEngine);
connect(m_scopeWindow, SIGNAL(destroyed()), this, SLOT(scopeWindowDestroyed()));
m_scopeWindow->setSampleRate(m_sampleRate);
dock->setWidget(m_scopeWindow);