comparison main/MainWindow.cpp @ 383:abb9c3dedec2 macness

ITunesSVRemote methods to query playback position and state
author Dan Stowell <dan.stowell@eecs.qmul.ac.uk>
date Mon, 18 Oct 2010 14:44:28 +0100
parents fad5611ef9db
children be237d380f5f
comparison
equal deleted inserted replaced
381:fad5611ef9db 383:abb9c3dedec2
2171 if (path != "") { 2171 if (path != "") {
2172 if (openAudio(path, ReplaceMainModel) == FileOpenFailed) { 2172 if (openAudio(path, ReplaceMainModel) == FileOpenFailed) {
2173 emit hideSplash(); 2173 emit hideSplash();
2174 QMessageBox::critical(this, tr("Failed to open file"), 2174 QMessageBox::critical(this, tr("Failed to open file"),
2175 tr("<b>File open failed</b><p>Audio file \"%1\" could not be opened").arg(path)); 2175 tr("<b>File open failed</b><p>Audio file \"%1\" could not be opened").arg(path));
2176 }else{
2177 m_iTunes->updatePlayerState();
2176 } 2178 }
2177 } 2179 }
2178 } 2180 }
2179 #endif 2181 #endif
2180 2182