revert changes that depend on other modifications

This commit is contained in:
Christian Daniel 2013-11-17 09:12:40 +01:00
parent eeb7a07683
commit da2ae2ad27
1 changed files with 1 additions and 2 deletions

View File

@ -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);