diff options
Diffstat (limited to 'audio/mixxx/files/patch-src::mixxx.cpp')
-rw-r--r-- | audio/mixxx/files/patch-src::mixxx.cpp | 40 |
1 files changed, 3 insertions, 37 deletions
diff --git a/audio/mixxx/files/patch-src::mixxx.cpp b/audio/mixxx/files/patch-src::mixxx.cpp index af8e3f277282..3b3d6b31823c 100644 --- a/audio/mixxx/files/patch-src::mixxx.cpp +++ b/audio/mixxx/files/patch-src::mixxx.cpp @@ -1,26 +1,6 @@ ---- src/mixxx.cpp.orig Fri Jun 25 20:52:15 2004 -+++ src/mixxx.cpp Fri Jun 25 21:17:32 2004 -@@ -29,6 +29,7 @@ - #include <qlabel.h> - #include <qdir.h> - #include <qptrlist.h> -+#include <qtimer.h> - - #include "wknob.h" - #include "wslider.h" -@@ -85,6 +86,11 @@ - - #include "playerproxy.h" - -+void MixxxApp::Timeout() -+{ -+ // nop -+} -+ - MixxxApp::MixxxApp(QApplication *a, QStringList files) - { - app = a; -@@ -113,7 +119,7 @@ +--- src/mixxx.cpp.orig Tue Oct 12 22:08:14 2004 ++++ src/mixxx.cpp Tue Oct 12 22:08:35 2004 +@@ -111,7 +111,7 @@ // On Windows and Mac it is always (and only) app dir. // QString qConfigPath; @@ -29,17 +9,3 @@ // On Linux, check if the path is stored in the configuration database. if (config->getValueString(ConfigKey("[Config]","Path")).length()>0 && QDir(config->getValueString(ConfigKey("[Config]","Path"))).exists()) qConfigPath = config->getValueString(ConfigKey("[Config]","Path")); -@@ -381,7 +387,12 @@ - #ifndef __WIN__ - new MixxxSocketServer(m_pTrack); - #endif -- -+ -+ // Keep the sound alive -+ QTimer *timer = new QTimer(this); -+ connect(timer, SIGNAL(timeout()), SLOT(Timeout())); -+ timer->start(100); -+ - // Call inits to invoke all other construction parts - initActions(); - initMenuBar(); |