Diffstat (limited to 'noncore/apps/confedit/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/confedit/mainwindow.cpp | 3 |
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 @@ -34,4 +34,5 @@ #include "listviewitemconfigentry.h" +#include <stdlib.h> MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : @@ -49,5 +50,5 @@ 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); |