summaryrefslogtreecommitdiff
authortille <tille>2002-07-22 11:44:42 (UTC)
committer tille <tille>2002-07-22 11:44:42 (UTC)
commit286aca1e843b99a5f5f6cc42f3bd97a868a72fff (patch) (unidiff)
tree91966ae050ae6a7671a27c539180700bf6e97518
parent661f9756e33aa7f4335814c87e5d442164449f57 (diff)
downloadopie-286aca1e843b99a5f5f6cc42f3bd97a868a72fff.zip
opie-286aca1e843b99a5f5f6cc42f3bd97a868a72fff.tar.gz
opie-286aca1e843b99a5f5f6cc42f3bd97a868a72fff.tar.bz2
replace getenv("HOME") by QDir::homeDirPath()
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/confedit/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp
index e7db86a..45dbcb4 100644
--- a/noncore/apps/confedit/mainwindow.cpp
+++ b/noncore/apps/confedit/mainwindow.cpp
@@ -50,5 +50,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) :
50 50
51 qDebug("creating settingList"); 51 qDebug("creating settingList");
52 settingList = new ListViewConfDir( QString(getenv("HOME")) + "/Settings", this, "settingslist"); 52 settingList = new ListViewConfDir( QDir::homeDirPath() + "/Settings", this, "settingslist");
53 settingList->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) ); 53 settingList->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) );
54 mainLayout->addWidget( settingList, 0); 54 mainLayout->addWidget( settingList, 0);