[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kfile
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2009-06-30 20:13:23
Message-ID: 1246392803.987780.14962.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 989743 by apaku:
Revert r981652 and r981593.
Apparently I missed that the setView( KFile::DefaultView ) actually uses the
defaults from the config file.
BUG:198081
M +0 -5 kdiroperator.cpp
M +0 -8 kdiroperator.h
M +1 -1 kfilewidget.cpp
--- trunk/KDE/kdelibs/kfile/kdiroperator.cpp #989742:989743
@@ -2627,11 +2627,6 @@
d->actionCollection->action("decorationAtTop")->setChecked(!decorationAtLeft);
}
-KFile::FileView KDirOperator::viewKind() const
-{
- return static_cast<KFile::FileView>(d->viewKind);
-}
-
// ### temporary code
#include <dirent.h>
bool KDirOperator::Private::isReadable(const KUrl& url)
--- trunk/KDE/kdelibs/kfile/kdiroperator.h #989742:989743
@@ -852,14 +852,6 @@
*/
void currentIconSizeChanged(int size);
-public:
- /**
- * @returns the currently used view kind
- * @see setView
- * @since 4.3
- */
- KFile::FileView viewKind() const;
-
private:
class Private;
Private* const d;
--- trunk/KDE/kdelibs/kfile/kfilewidget.cpp #989742:989743
@@ -1712,7 +1712,7 @@
if ( !d->hasView ) { // delayed view-creation
Q_ASSERT( d );
Q_ASSERT( d->ops );
- d->ops->setView( d->ops->viewKind() );
+ d->ops->setView( KFile::Default );
d->ops->view()->setSizePolicy( QSizePolicy( QSizePolicy::Maximum, QSizePolicy::Maximum ) );
d->hasView = true;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic