summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/configure.cpp')
-rw-r--r--rbutil/rbutilqt/configure.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index 246b9a0fda..bcb52304e4 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -20,9 +20,7 @@
#include <QProgressDialog>
#include <QFileDialog>
#include <QUrl>
-#if !defined(Q_OS_LINUX)
#include <QSound>
-#endif
#include "version.h"
#include "configure.h"
@@ -951,16 +949,7 @@ void Config::testTts()
}
tts->stop();
if(!filename.isEmpty()) {
-#if defined(Q_OS_LINUX)
- QString exe = Utils::findExecutable("aplay");
- if(exe == "") exe = Utils::findExecutable("play");
- if(exe != "")
- {
- QProcess::execute(exe+" "+filename);
- }
-#else
QSound::play(filename);
-#endif
}
ui.testTTS->setEnabled(true);
delete tts; /* Config objects are never deleted (in fact, they are