summaryrefslogtreecommitdiff
authorleseb <leseb>2002-07-22 10:55:05 (UTC)
committer leseb <leseb>2002-07-22 10:55:05 (UTC)
commit661f9756e33aa7f4335814c87e5d442164449f57 (patch) (side-by-side diff)
treee56710f838127043542f4c8789e2f6d123d8fb8e
parent3878c4883ce02dd98122695ffa678c3f54f704bb (diff)
downloadopie-661f9756e33aa7f4335814c87e5d442164449f57.zip
opie-661f9756e33aa7f4335814c87e5d442164449f57.tar.gz
opie-661f9756e33aa7f4335814c87e5d442164449f57.tar.bz2
Fix bug 134
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/confedit/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp
index c91c846..e7db86a 100644
--- a/noncore/apps/confedit/mainwindow.cpp
+++ b/noncore/apps/confedit/mainwindow.cpp
@@ -33,6 +33,7 @@
#include "listviewitemconf.h"
#include "listviewitemconfigentry.h"
+#include <stdlib.h>
MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) :
QDialog( parent, name, f ), _currentItem(0), _fileItem(0)
@@ -48,7 +49,7 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) :
qDebug("creating settingList");
- settingList = new ListViewConfDir( "/root/Settings/", this, "settingslist");
+ settingList = new ListViewConfDir( QString(getenv("HOME")) + "/Settings", this, "settingslist");
settingList->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) );
mainLayout->addWidget( settingList, 0);