-1.0 - April ?, 2010
+1.1 - Jul 27, 2010
+- Minitube now correctly plays cat and mouse with YouTube
+- Toolbar restyling
+- Simplified Chinese translation by Changtai Liang
+
+1.0 - May 3, 2010
- Ability to play Full HD (1080p) videos
- Ability to copy the YouTube link and the video stream URL to the clipboard
- Fixed videos failing to play
CONFIG += release
TEMPLATE = app
-VERSION = 1.0.1
+VERSION = 1.1
DEFINES += APP_VERSION="$$VERSION"
INCLUDEPATH += /usr/include/phonon
QT += network \
xml \
phonon
-unix:!mac:QT += dbus
include(src/qtsingleapplication/qtsingleapplication.pri)
include(src/thlibrary/thlibrary.pri)
HEADERS += src/MainWindow.h \
fileMenu = menuBar()->addMenu(tr("&Application"));
// menus->insert("file", fileMenu);
fileMenu->addAction(clearAct);
-#ifndef Q_WS_MAC
+#ifndef APP_MAC
fileMenu->addSeparator();
#endif
fileMenu->addAction(quitAct);
void MainWindow::createToolBars() {
mainToolBar = new QToolBar(this);
-#if QT_VERSION < 0x040600 | defined(Q_WS_MAC)
+#if QT_VERSION < 0x040600 | defined(APP_MAC)
mainToolBar->setToolButtonStyle(Qt::ToolButtonIconOnly);
#else
mainToolBar->setToolButtonStyle(Qt::ToolButtonFollowStyle);
mainToolBar->setFloatable(false);
mainToolBar->setMovable(false);
-#ifdef Q_WS_MAC
+#ifdef APP_MAC
mainToolBar->setIconSize(QSize(32, 32));
#endif
QWidget *oldWidget = views->currentWidget();
views->setCurrentWidget(widget);
-#ifdef Q_WS_MAC
+#ifdef APP_MAC
// crossfade only on OSX
// where we can be sure of video performance
fadeInWidget(oldWidget, widget);
mediaView->setPlaylistVisible(m_fullscreen);
statusBar()->setVisible(m_fullscreen);
-#ifndef Q_WS_MAC
+#ifndef APP_MAC
menuBar()->setVisible(m_fullscreen);
#endif
-#ifdef Q_WS_MAC
+#ifdef APP_MAC
// make the actions work when video is fullscreen (on the Mac)
QMap<QString, QAction*> *actions = The::globalActions();
foreach (QAction *action, actions->values()) {
mediaView->setPlaylistVisible(!enable);
statusBar()->setVisible(!enable);
-#ifndef Q_WS_MAC
+#ifndef APP_MAC
menuBar()->setVisible(!enable);
#endif
videoAreaWidget = new VideoAreaWidget(this);
videoAreaWidget->setMinimumSize(320,240);
-#ifdef Q_WS_MAC
+#ifdef APP_MAC
// mouse autohide does not work on the Mac (no mouseMoveEvent)
videoWidget = new Phonon::VideoWidget(this);
#else
// but Phonon on Linux needs a little more help to start playback
if (!reallyStopped) mediaObject->play();
-#ifdef Q_WS_MAC
+#ifdef APP_MAC
// Workaround for Mac playback start problem
if (!timerPlayFlag) {
workaroundTimer->start();
app.setApplicationName(Constants::APP_NAME);
app.setOrganizationName(Constants::ORG_NAME);
app.setOrganizationDomain(Constants::ORG_DOMAIN);
-#ifndef Q_WS_MAC
+#ifndef APP_MAC
app.setWheelScrollLines(1);
#endif
mainWin.setWindowTitle(Constants::APP_NAME);
// no window icon on Mac
-#ifndef Q_WS_MAC
+#ifndef APP_MAC
if (!QFile::exists(dataDir)) {
dataDir = qApp->applicationDirPath() + "/data";
}