summarylogtreecommitdiffstats
path: root/answer.cpp.patch
blob: f4d9a848976ac6d15ecb911eb313cb479dd0c1b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- answer.cpp	2012-08-06 22:56:30.000000000 +0200
+++ answer.cpp.new	2015-03-29 14:39:33.433983097 +0200
@@ -55,7 +55,7 @@
     ui->videoPlayer->setVisible(false);
 
     if(sound)
-        this->music = Phonon::createPlayer(Phonon::NoCategory, Phonon::MediaSource("sound/jeopardy.wav"));
+        this->music = Phonon::createPlayer(Phonon::NoCategory, Phonon::MediaSource("/usr/share/jeopardy/sound/jeopardy.wav"));
 
     this->isVideo = false;
 }
@@ -217,7 +217,7 @@
 
 void Answer::prependDir(QString *answer)
 {
-    answer->prepend(QString("/answers/%1/").arg(this->round));
+    answer->prepend(QString("/usr/share/jeopardy/answers/%1/").arg(this->round));
     answer->prepend(QDir::currentPath());
 }