]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix indentation
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 12 May 2019 11:09:39 +0000 (13:09 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 12 May 2019 11:12:01 +0000 (13:12 +0200)
GIT_SILENT

cmake/DbusInterfaceMacros.cmake
src/dolphinui.rc
src/kitemviews/kfileitemmodel.cpp
src/kitemviews/kstandarditemlistwidget.cpp
src/panels/information/pixmapviewer.cpp
src/panels/places/placespanel.cpp

index 71ad9067d992d1cb41bcdc0ea0f8dc3328729794..1083dfd443aa93090b478728ab09535d100b10ac 100644 (file)
@@ -6,7 +6,7 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
     add_custom_target(
         ${output_xml_file}_target
         SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
-       )
+    )
     install(
         FILES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
         DESTINATION ${DBUS_INTERFACES_INSTALL_DIR}
index 282ea63e5f2a0f74dbec5ced091cdbf66d949e97..076aafa96f4468ff60087270a2b2950f652522a2 100644 (file)
@@ -6,7 +6,7 @@
             <Action name="file_new" />
             <Action name="new_tab" />
             <Action name="file_close" />
-           <Action name="undo_close_tab" />
+            <Action name="undo_close_tab" />
             <Separator/>
             <Action name="renamefile" />
             <Action name="movetotrash" />
index 42d8986fc8ddc5b19761344651db76e38d0171e3..8145a00f11ba1f2fc22bd9f7aca0679c3ddfdfdb 100644 (file)
@@ -304,9 +304,9 @@ QString KFileItemModel::roleDescription(const QByteArray& role) const
         int count = 0;
         const RoleInfoMap* map = rolesInfoMap(count);
         for (int i = 0; i < count; ++i) {
-           if (!map[i].roleTranslation) {
-                   continue;
-           }
+            if (!map[i].roleTranslation) {
+                continue;
+            }
             description.insert(map[i].role, i18nc(map[i].roleTranslationContext, map[i].roleTranslation));
         }
     }
index f56f68ac54007b826d458ab53e603a5c688c4e91..15c01726fa8b972775d71880bee0ca4cc7298f2d 100644 (file)
@@ -1225,7 +1225,7 @@ void KStandardItemListWidget::updateIconsLayoutTextCache()
                 textInfo->staticText.setText(elidedText);
                 requiredWidth = m_customizedFontMetrics.width(elidedText);
             } else if (role == "rating") {
-               // Use the width of the rating pixmap, because the rating text is empty.
+                // Use the width of the rating pixmap, because the rating text is empty.
                 requiredWidth = m_rating.width();
             }
         }
index fb0aa032b2d7a08a39bf91dfae2908974ddb52ee..311995ec2f81250e2b99f7947cb3b06fceda1b85 100644 (file)
@@ -97,14 +97,14 @@ void PixmapViewer::paintEvent(QPaintEvent* event)
         const bool useOldPixmap = (m_transition == SizeTransition) &&
                                   (m_oldPixmap.width() > m_pixmap.width());
         const QPixmap& largePixmap = useOldPixmap ? m_oldPixmap : m_pixmap;
-       if (!largePixmap.isNull()) {
+        if (!largePixmap.isNull()) {
             const QPixmap scaledPixmap = largePixmap.scaled(scaledWidth,
                                                             scaledHeight,
                                                             Qt::IgnoreAspectRatio,
                                                             Qt::FastTransformation);
 
             style()->drawItemPixmap(&painter, rect(), Qt::AlignCenter, scaledPixmap);
-       }
+        }
     } else {
         style()->drawItemPixmap(&painter, rect(), Qt::AlignCenter, m_pixmap);
     }
index 224eb0c64da52337faf41b341cb3e385e72b97a2..41f50e740f88efeccda20aa801011e03c1982afd 100644 (file)
@@ -93,8 +93,8 @@ bool PlacesPanel::urlChanged()
 void PlacesPanel::readSettings()
 {
     if (m_controller) {
-       const int delay = GeneralSettings::autoExpandFolders() ? 750 : -1;
-       m_controller->setAutoActivationDelay(delay);
+        const int delay = GeneralSettings::autoExpandFolders() ? 750 : -1;
+        m_controller->setAutoActivationDelay(delay);
     }
 }