Changeset View
Changeset View
Standalone View
Standalone View
krusader/Panel/krpreviews.cpp
Show All 23 Lines | |||||
24 | #include "krcolorcache.h" | 24 | #include "krcolorcache.h" | ||
25 | #include "PanelView/krview.h" | 25 | #include "PanelView/krview.h" | ||
26 | #include "PanelView/krviewitem.h" | 26 | #include "PanelView/krviewitem.h" | ||
27 | #include "../FileSystem/fileitem.h" | 27 | #include "../FileSystem/fileitem.h" | ||
28 | #include "../defaults.h" | 28 | #include "../defaults.h" | ||
29 | 29 | | |||
30 | #include <stdio.h> | 30 | #include <stdio.h> | ||
31 | 31 | | |||
32 | #define ASSERT(what) if(!what) abort(); | 32 | #define ASSERT(what) if(!(what)) abort(); | ||
33 | 33 | | |||
34 | 34 | | |||
35 | KrPreviews::KrPreviews(KrView *view) : _job(nullptr), _view(view) | 35 | KrPreviews::KrPreviews(KrView *view) : _job(nullptr), _view(view) | ||
36 | { | 36 | { | ||
37 | _dim = KrColorCache::getColorCache().getDimSettings(_dimColor, _dimFactor); | 37 | _dim = KrColorCache::getColorCache().getDimSettings(_dimColor, _dimFactor); | ||
38 | connect(&KrColorCache::getColorCache(), &KrColorCache::colorsRefreshed, this, &KrPreviews::slotRefreshColors); | 38 | connect(&KrColorCache::getColorCache(), &KrColorCache::colorsRefreshed, this, &KrPreviews::slotRefreshColors); | ||
39 | } | 39 | } | ||
40 | 40 | | |||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |