]> git.sur5r.net Git - minitube/commitdiff
Windows icon and fixes
authorFlavio Tordini <flavio.tordini@gmail.com>
Mon, 19 Oct 2009 19:38:08 +0000 (21:38 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Mon, 19 Oct 2009 19:38:08 +0000 (21:38 +0200)
minitube.ico [new file with mode: 0644]
minitube.pro
minitube.rc [new file with mode: 0644]
src/MediaView.cpp

diff --git a/minitube.ico b/minitube.ico
new file mode 100644 (file)
index 0000000..9a3acbe
Binary files /dev/null and b/minitube.ico differ
index e83f364e4821a4a1ab87e17b765482c461dcbada..c5150fdbe1e77c48246d9652b337830bd2d146fe 100755 (executable)
@@ -120,3 +120,6 @@ unix {
     icon128.path = $$DATADIR/icons/hicolor/128x128/apps
     icon128.files += data/128x128/minitube.png
 }
+win32 {
+    RC_FILE = minitube.rc
+}
diff --git a/minitube.rc b/minitube.rc
new file mode 100644 (file)
index 0000000..2c1795b
--- /dev/null
@@ -0,0 +1,2 @@
+IDI_ICON1               ICON    DISCARDABLE     "minitube.ico"
+
index 08173c5b2831e3bd8c2309b92de599a59559a4cb..d5b5ec17afea25b2d99d70ea907a8d32f0622ab6 100644 (file)
@@ -187,10 +187,12 @@ void MediaView::stateChanged(Phonon::State newState, Phonon::State /*oldState*/)
         // but Phonon on Linux needs a little more help to start playback
         if (!reallyStopped) mediaObject->play();
 
+#ifdef Q_WS_MAC
         // Workaround for Mac playback start problem
         if (!timerPlayFlag) {
             workaroundTimer->start();
         }
+#endif
 
         break;