author | leseb <leseb> | 2002-07-22 10:55:05 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-07-22 10:55:05 (UTC) |
commit | 661f9756e33aa7f4335814c87e5d442164449f57 (patch) (unidiff) | |
tree | e56710f838127043542f4c8789e2f6d123d8fb8e | |
parent | 3878c4883ce02dd98122695ffa678c3f54f704bb (diff) | |
download | opie-661f9756e33aa7f4335814c87e5d442164449f57.zip opie-661f9756e33aa7f4335814c87e5d442164449f57.tar.gz opie-661f9756e33aa7f4335814c87e5d442164449f57.tar.bz2 |
Fix bug 134
-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 | |||
@@ -32,8 +32,9 @@ | |||
32 | #include "listviewconfdir.h" | 32 | #include "listviewconfdir.h" |
33 | #include "listviewitemconf.h" | 33 | #include "listviewitemconf.h" |
34 | #include "listviewitemconfigentry.h" | 34 | #include "listviewitemconfigentry.h" |
35 | 35 | ||
36 | #include <stdlib.h> | ||
36 | 37 | ||
37 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : | 38 | MainWindow::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) |
39 | { | 40 | { |
@@ -47,9 +48,9 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : | |||
47 | mainLayout->setMargin( 0 ); | 48 | mainLayout->setMargin( 0 ); |
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 | ||
55 | qDebug("creating editor"); | 56 | qDebug("creating editor"); |