Mercurial > hg > tony
diff src/MainWindow.cpp @ 4:976d9aec2a7e
Minor tidy
author | Chris Cannam |
---|---|
date | Fri, 16 Nov 2012 12:19:29 +0000 |
parents | 17da7a332620 |
children | c2a0d8666017 |
line wrap: on
line diff
--- a/src/MainWindow.cpp Fri Nov 16 12:14:36 2012 +0000 +++ b/src/MainWindow.cpp Fri Nov 16 12:19:29 2012 +0000 @@ -773,14 +773,12 @@ void MainWindow::documentModified() { - //!!! MainWindowBase::documentModified(); } void MainWindow::documentRestored() { - //!!! MainWindowBase::documentRestored(); } @@ -960,7 +958,7 @@ void MainWindow::paneDropAccepted(Pane *pane, QStringList uriList) { -// if (pane) m_paneStack->setCurrentPane(pane); + if (pane) m_paneStack->setCurrentPane(pane); for (QStringList::iterator i = uriList.begin(); i != uriList.end(); ++i) { @@ -1326,14 +1324,6 @@ MainWindow::sampleRateMismatch(size_t requested, size_t actual, bool willResample) { - if (!willResample) { - //!!! more helpful message needed - QMessageBox::information - (this, tr("Sample rate mismatch"), - tr("The sample rate of this audio file (%1 Hz) does not match\nthe current playback rate (%2 Hz).\n\nThe file will play at the wrong speed and pitch.") - .arg(requested).arg(actual)); - } - updateDescriptionLabel(); } @@ -1513,13 +1503,15 @@ void MainWindow::website() { - openHelpUrl(tr("http://www.sonicvisualiser.org/")); + //!!! todo: URL! + openHelpUrl(tr("http://code.soundsoftware.ac.uk/projects/tony/")); } void MainWindow::help() { - openHelpUrl(tr("http://www.sonicvisualiser.org/doc/reference/1.0/en/")); + //!!! todo: help URL! + openHelpUrl(tr("http://code.soundsoftware.ac.uk/projects/tony/")); } void