From 615923bafaffe90dd7c860d094f4cf3680b6d103 Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 08 Feb 2005 23:18:38 +0000 Subject: Fix for #1550 start at QPEApplication::qpeDir() + "sounds/" as basedirectory --- (limited to 'noncore') diff --git a/noncore/tools/clock/clock.cpp b/noncore/tools/clock/clock.cpp index 0ad69d9..3473d01 100644 --- a/noncore/tools/clock/clock.cpp +++ b/noncore/tools/clock/clock.cpp @@ -18,7 +18,7 @@ ** **********************************************************************/ // changes added and Copyright (C) by L. J. Potter 2002 -// changes added and Copyright (C) by Holger Freyther 2004 +// changes added and Copyright (C) by Holger Freyther 2004,2005 #include "clock.h" @@ -801,7 +801,7 @@ void Clock::slotBrowseMp3File() { QStringList text; text << "audio/*"; map.insert(tr("Audio"), text ); - QString str = Opie::Ui::OFileDialog::getOpenFileName( 2,"/", QString::null, map); + QString str = Opie::Ui::OFileDialog::getOpenFileName( 2, QPEApplication::qpeDir() + "sounds/", QString::null, map); if(!str.isEmpty() ) { config.writeEntry("mp3Alarm",1); config.writeEntry("mp3File",str); -- cgit v0.9.0.2