summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore 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 @@
33#include "listviewitemconf.h" 33#include "listviewitemconf.h"
34#include "listviewitemconfigentry.h" 34#include "listviewitemconfigentry.h"
35 35
36#include <stdlib.h>
36 37
37MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : 38MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) :
38 QDialog( parent, name, f ), _currentItem(0), _fileItem(0) 39 QDialog( parent, name, f ), _currentItem(0), _fileItem(0)
@@ -48,7 +49,7 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) :
48 49
49 50
50 qDebug("creating settingList"); 51 qDebug("creating settingList");
51 settingList = new ListViewConfDir( "/root/Settings/", this, "settingslist"); 52 settingList = new ListViewConfDir( QString(getenv("HOME")) + "/Settings", this, "settingslist");
52 settingList->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) ); 53 settingList->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) );
53 mainLayout->addWidget( settingList, 0); 54 mainLayout->addWidget( settingList, 0);
54 55