X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/848abc5922167a467bb73107ee6b72e9af3c8317..885916b7b4:/src/kitemviews/kfileitemlistview.cpp diff --git a/src/kitemviews/kfileitemlistview.cpp b/src/kitemviews/kfileitemlistview.cpp index dd8167d79..80d85aa2e 100644 --- a/src/kitemviews/kfileitemlistview.cpp +++ b/src/kitemviews/kfileitemlistview.cpp @@ -19,23 +19,23 @@ #include "kfileitemlistview.h" -#include "kfileitemmodelrolesupdater.h" #include "kfileitemlistwidget.h" #include "kfileitemmodel.h" +#include "kfileitemmodelrolesupdater.h" #include "private/kpixmapmodifier.h" #include -#include -#include #include #include +#include +#include // #define KFILEITEMLISTVIEW_DEBUG namespace { // If the visible index range changes, KFileItemModelRolesUpdater is not - // informed immediatetly, but with a short delay. This ensures that scrolling + // informed immediately, but with a short delay. This ensures that scrolling // always feels smooth and is not interrupted by icon loading (which can be // quite expensive if a disk access is required to determine the final icon). const int ShortInterval = 50; @@ -213,7 +213,7 @@ void KFileItemListView::initializeItemListWidget(KItemListWidget* item) void KFileItemListView::onPreviewsShownChanged(bool shown) { - Q_UNUSED(shown); + Q_UNUSED(shown) } void KFileItemListView::onItemLayoutChanged(ItemLayout current, ItemLayout previous) @@ -246,8 +246,8 @@ void KFileItemListView::onScrollOrientationChanged(Qt::Orientation current, Qt:: void KFileItemListView::onItemSizeChanged(const QSizeF& current, const QSizeF& previous) { - Q_UNUSED(current); - Q_UNUSED(previous); + Q_UNUSED(current) + Q_UNUSED(previous) triggerVisibleIndexRangeUpdate(); }