summaryrefslogtreecommitdiff
authorzecke <zecke>2005-02-19 17:26:15 (UTC)
committer zecke <zecke>2005-02-19 17:26:15 (UTC)
commit112337f13c70f1266430f154d486b6f23ec18488 (patch) (side-by-side diff)
tree6869bbf5f7763b2a56ef690526275cae081dae83
parentb02c537198dad1e53f8c4004a4c08578e431b411 (diff)
downloadopie-112337f13c70f1266430f154d486b6f23ec18488.zip
opie-112337f13c70f1266430f154d486b6f23ec18488.tar.gz
opie-112337f13c70f1266430f154d486b6f23ec18488.tar.bz2
Make use of the platform
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/helpwindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-gutenbrowser/helpwindow.cpp b/noncore/apps/opie-gutenbrowser/helpwindow.cpp
index 57b1e74..4bdac02 100644
--- a/noncore/apps/opie-gutenbrowser/helpwindow.cpp
+++ b/noncore/apps/opie-gutenbrowser/helpwindow.cpp
@@ -6,33 +6,36 @@
** This file is part of an example program for Qt. This example
** program may be used, distributed and modified without limitation.
**
copyright : (C) 2000 -2004 by llornkcor
email : ljp@llornkcor.com
*****************************************************************************/
#include "helpwindow.h"
+
+#include <qpe/global.h>
+
#include <qstatusbar.h>
#include <qmenubar.h>
#include <qtoolbar.h>
#include <qtoolbutton.h>
#include <qcombobox.h>
#ifndef QT_NO_FILEDIALOG
#include <qfiledialog.h>
#endif
#include <ctype.h>
HelpWindow::HelpWindow( const QString& home_, const QString&, QWidget* parent, const char *name )
: QMainWindow( parent, name, WDestructiveClose ), pathCombo( 0 ), selectedURL()
{
- QString local_library = (QDir::homeDirPath ()) +"/Applications/gutenbrowser/";
+ QString local_library = Global::applicationFileName("gutenbrowser", QString::null);
// readHistory();
// readBookmarks();
browser = new QTextBrowser( this );
QStringList Strlist;
Strlist.append( home_);
browser->mimeSourceFactory()->setFilePath( Strlist );