[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdewebdev/quanta
From: Andras Mantia <amantia () kde ! org>
Date: 2006-09-01 20:37:19
Message-ID: 1157143039.402109.2162.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 579862 by amantia:
Regression fix in the files view due to the symlink handling change.
M +1 -1 quanta.kdevelop
M +4 -4 treeviews/filestreeview.cpp
--- branches/KDE/3.5/kdewebdev/quanta/quanta.kdevelop #579861:579862
@@ -48,7 +48,7 @@
</compiler>
<run>
<mainprogram>quanta/src/quanta</mainprogram>
- <programargs/>
+ <programargs></programargs>
<terminal>false</terminal>
<envvars/>
<directoryradio>build</directoryradio>
--- branches/KDE/3.5/kdewebdev/quanta/treeviews/filestreeview.cpp #579861:579862
@@ -35,9 +35,9 @@
#ifdef ENABLE_CVSSERVICE
#include "cvsservice.h"
#endif
+#include "qextfileinfo.h"
-
//FilesTreeView implementation
FilesTreeView::FilesTreeView(KConfig *config, QWidget *parent, const char *name)
@@ -74,7 +74,7 @@
if (!topURLList.contains(url))
topURLList.append(url);
url = KURL();
- url.setPath(QDir::homeDirPath()+"/");
+ url.setPath(QExtFileInfo::homeDirPath() + "/");
if (!topURLList.contains(url))
topURLList.append(url);
}
@@ -150,7 +150,7 @@
newBrnch = new BaseTreeBranch(this, url, i18n("Root Folder"), \
SmallIcon(fileItem.iconName()), true); } else
{
- if (url.isLocalFile() && url.equals(KURL(QDir::homeDirPath()), true))
+ if (url.isLocalFile() && url.equals(KURL(QExtFileInfo::homeDirPath() + "/"), \
true)) {
newBrnch = new BaseTreeBranch(this, url, i18n("Home Folder"), \
SmallIcon(fileItem.iconName()), true); } else
@@ -215,7 +215,7 @@
m_folderMenu->setItemVisible(m_menuFolderRename, false);
m_config->setGroup("General Options");
- if ((url == KURL("file:/") || url == KURL("file:" + \
QDir::homeDirPath()+"/")) && + if ((url == KURL("file:/") || url == \
KURL("file:" + QExtFileInfo::homeDirPath() + "/")) && \
m_config->readBoolEntry("Home-Root Folder On", true) ) m_folderMenu \
->setItemVisible(m_menuTop, false); m_folderMenu ->setItemVisible(m_reloadMenuId, \
true);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic