if (windowTitle.length())
windowTitle += " - ";
setWindowTitle(windowTitle + Constants::APP_NAME);
- setStatusTip(metadata.value("description").toString());
+ statusBar()->showMessage((metadata.value("description").toString()));
+
}
// backAct->setEnabled(history->size() > 1);
case Phonon::ErrorState:
if (mediaObject->errorType() == Phonon::FatalError) {
- setStatusTip("Something went REALLY wrong: " + mediaObject->errorString());
+ statusBar()->showMessage(tr("Fatal error: %1").arg(mediaObject->errorString()));
} else {
- setStatusTip("Something went wrong: " + mediaObject->errorString());
+ statusBar()->showMessage(tr("Error: %1").arg(mediaObject->errorString()));
}
break;
QMainWindow* mainWindow = dynamic_cast<QMainWindow*>(qApp->topLevelWidgets().first());
if (mainWindow) mainWindow->statusBar()->showMessage(networkReply->errorString());
- qDebug() << "Network error" << networkReply->errorString() << code;
+ qDebug() << "Network error" << networkReply->errorString() << code;\
networkReply->deleteLater();
}