From 863112002c00878c1722f4a12c178212c998e3f4 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sun, 12 May 2019 13:09:39 +0200 Subject: Fix indentation GIT_SILENT --- src/panels/information/pixmapviewer.cpp | 4 ++-- src/panels/places/placespanel.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/panels') diff --git a/src/panels/information/pixmapviewer.cpp b/src/panels/information/pixmapviewer.cpp index fb0aa032b..311995ec2 100644 --- a/src/panels/information/pixmapviewer.cpp +++ b/src/panels/information/pixmapviewer.cpp @@ -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); } diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp index 224eb0c64..41f50e740 100644 --- a/src/panels/places/placespanel.cpp +++ b/src/panels/places/placespanel.cpp @@ -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); } } -- cgit v1.3.1