diff options
| author | Peter Penz <[email protected]> | 2007-04-09 19:12:54 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-04-09 19:12:54 +0000 |
| commit | c8a4f1fd8d3c9b50e51b7234123b3fbe0b979552 (patch) | |
| tree | c8e29897fa7457cd31ffb51666c7e3cb8a5a2fea /src/viewproperties.cpp | |
| parent | 30161a7b3fe76578f43a61381c98a5ae475ed52a (diff) | |
adapt Dolphin to kdelibs coding style (http://techbase.kde.org/Policies/Kdelibs_Coding_Style) by using:
astyle --indent=spaces=4 --brackets=linux \
--indent-labels --pad=oper --unpad=paren \
--one-line=keep-statements --convert-tabs \
--indent-preprocessor \
`find -type f -name '*.cpp'` `find -type f -name '*.h'`
svn path=/trunk/KDE/kdebase/apps/; revision=651981
Diffstat (limited to 'src/viewproperties.cpp')
| -rw-r--r-- | src/viewproperties.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/viewproperties.cpp b/src/viewproperties.cpp index 5d652281a..485ed4384 100644 --- a/src/viewproperties.cpp +++ b/src/viewproperties.cpp @@ -37,9 +37,9 @@ #define FILE_NAME "/.directory" ViewProperties::ViewProperties(const KUrl& url) : - m_changedProps(false), - m_autoSave(true), - m_node(0) + m_changedProps(false), + m_autoSave(true), + m_node(0) { KUrl cleanUrl(url); cleanUrl.cleanPath(); @@ -57,14 +57,12 @@ ViewProperties::ViewProperties(const KUrl& url) : const bool useGlobalViewProps = settings->globalViewProps(); if (useGlobalViewProps) { m_filepath = destinationDir("global"); - } - else if (cleanUrl.isLocalFile()) { + } else if (cleanUrl.isLocalFile()) { const QFileInfo info(m_filepath); if (!info.isWritable()) { m_filepath = destinationDir("local") + m_filepath; } - } - else { + } else { m_filepath = destinationDir("remote") + m_filepath; } |
