$NetBSD$

--- mainwindow.cpp.orig	2005-04-11 01:13:54.000000000 +0700
+++ mainwindow.cpp
@@ -36,10 +36,11 @@ MainWindow::MainWindow() : QMainWindow(0
     contrdirs[Cell::D] = Cell::U;
     contrdirs[Cell::L] = Cell::R;
 
-    QString appdir = qApp->applicationDirPath();
-    soundpath = appdir + "/sounds/";
-    if(!QFile::exists(soundpath))
-	soundpath = appdir + "/../share/qnetwalk/sounds/";
+    //QString appdir = qApp->applicationDirPath();
+    //soundpath = appdir + "/sounds/";
+    //if(!QFile::exists(soundpath))
+	//soundpath = appdir + "/../share/qnetwalk/sounds/";
+	soundpath = "@QNETWALK_DATA@";
 
     winsound     = new QSound(soundpath + "win.wav");
     turnsound    = new QSound(soundpath + "turn.wav");
