# HG changeset patch
# User Chris Cannam
# Date 1169742409 0
# Node ID 14cc0a78f3403c4449f6c2dbc316e33a7ba78f6c
# Parent 52409ab73526a0ea170c2957f546ff55378a6690
...
diff -r 52409ab73526 -r 14cc0a78f340 main/MainWindow.cpp
--- a/main/MainWindow.cpp Thu Jan 25 12:02:44 2007 +0000
+++ b/main/MainWindow.cpp Thu Jan 25 16:26:49 2007 +0000
@@ -2734,10 +2734,14 @@
}
// This name doesn't have to be unguessable
-
+#ifndef _WIN32
QString fname = QString("tmp-%1-%2.sv")
.arg(QDateTime::currentDateTime().toString("yyyyMMddhhmmsszzz"))
.arg(QProcess().pid());
+#else
+ QString fname = QString("tmp-%1.sv")
+ .arg(QDateTime::currentDateTime().toString("yyyyMMddhhmmsszzz"));
+#endif
QString fpath = QDir(svDir).filePath(fname);
if (saveSessionFile(fpath)) {
m_recentFiles.addFile(fpath);
@@ -4322,25 +4326,49 @@
aboutText += tr("
With Qt (v%1) © Trolltech AS").arg(QT_VERSION_STR);
#endif
#ifdef HAVE_JACK
+#ifdef JACK_VERSION
aboutText += tr("
With JACK audio output (v%1) © Paul Davis and Jack O'Quin").arg(JACK_VERSION);
+#else
+ aboutText += tr("
With JACK audio output © Paul Davis and Jack O'Quin");
+#endif
#endif
#ifdef HAVE_PORTAUDIO
aboutText += tr("
With PortAudio audio output © Ross Bencina and Phil Burk");
#endif
#ifdef HAVE_OGGZ
+#ifdef OGGZ_VERSION
aboutText += tr("
With Ogg file decoder (oggz v%1, fishsound v%2) © CSIRO Australia").arg(OGGZ_VERSION).arg(FISHSOUND_VERSION);
+#else
+ aboutText += tr("
With Ogg file decoder © CSIRO Australia");
+#endif
#endif
#ifdef HAVE_MAD
+#ifdef MAD_VERSION
aboutText += tr("
With MAD mp3 decoder (v%1) © Underbit Technologies Inc").arg(MAD_VERSION);
+#else
+ aboutText += tr("
With MAD mp3 decoder © Underbit Technologies Inc");
+#endif
#endif
#ifdef HAVE_SAMPLERATE
+#ifdef SAMPLERATE_VERSION
aboutText += tr("
With libsamplerate (v%1) © Erik de Castro Lopo").arg(SAMPLERATE_VERSION);
+#else
+ aboutText += tr("
With libsamplerate © Erik de Castro Lopo");
+#endif
#endif
#ifdef HAVE_SNDFILE
+#ifdef SNDFILE_VERSION
aboutText += tr("
With libsndfile (v%1) © Erik de Castro Lopo").arg(SNDFILE_VERSION);
+#else
+ aboutText += tr("
With libsndfile © Erik de Castro Lopo");
+#endif
#endif
#ifdef HAVE_FFTW3
+#ifdef FFTW3_VERSION
aboutText += tr("
With FFTW3 (v%1) © Matteo Frigo and MIT").arg(FFTW3_VERSION);
+#else
+ aboutText += tr("
With FFTW3 © Matteo Frigo and MIT");
+#endif
#endif
#ifdef HAVE_VAMP
aboutText += tr("
With Vamp plugin support (API v%1, SDK v%2) © Chris Cannam").arg(VAMP_API_VERSION).arg(VAMP_SDK_VERSION);
@@ -4348,7 +4376,11 @@
aboutText += tr("
With LADSPA plugin support (API v%1) © Richard Furse, Paul Davis, Stefan Westerfeld").arg(LADSPA_VERSION);
aboutText += tr("
With DSSI plugin support (API v%1) © Chris Cannam, Steve Harris, Sean Bolton").arg(DSSI_VERSION);
#ifdef HAVE_LIBLO
+#ifdef LIBLO_VERSION
aboutText += tr("
With liblo Lite OSC library (v%1) © Steve Harris").arg(LIBLO_VERSION);
+#else
+ aboutText += tr("
With liblo Lite OSC library © Steve Harris").arg(LIBLO_VERSION);
+#endif
if (m_oscQueue && m_oscQueue->isOK()) {
aboutText += tr("
The OSC URL for this instance is: \"%1\"").arg(m_oscQueue->getOSCURL()); }