diff options
| author | Elvis Angelaccio <[email protected]> | 2019-05-12 13:09:39 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-05-12 13:12:01 +0200 |
| commit | 863112002c00878c1722f4a12c178212c998e3f4 (patch) | |
| tree | f249ecd530f1965e0ed982727b05d88d11c92487 /src/panels | |
| parent | d7555d8e11311c16f6dadc14abd9b3fb9a03a085 (diff) | |
Fix indentation
GIT_SILENT
Diffstat (limited to 'src/panels')
| -rw-r--r-- | src/panels/information/pixmapviewer.cpp | 4 | ||||
| -rw-r--r-- | src/panels/places/placespanel.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
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); } } |
