Changeset View
Changeset View
Standalone View
Standalone View
krusader/Search/krsearchdialog.cpp
Show First 20 Lines • Show All 182 Lines • ▼ Show 20 Line(s) | 135 | { | |||
---|---|---|---|---|---|
183 | 183 | | |||
184 | searchBaseLayout->addLayout(buttonsLayout, 1, 0); | 184 | searchBaseLayout->addLayout(buttonsLayout, 1, 0); | ||
185 | 185 | | |||
186 | // creating the searcher tabs | 186 | // creating the searcher tabs | ||
187 | 187 | | |||
188 | searcherTabs = new QTabWidget(this); | 188 | searcherTabs = new QTabWidget(this); | ||
189 | 189 | | |||
190 | filterTabs = FilterTabs::addTo(searcherTabs, FilterTabs::Default); | 190 | filterTabs = FilterTabs::addTo(searcherTabs, FilterTabs::Default); | ||
191 | generalFilter = (GeneralFilter *)filterTabs->get("GeneralFilter"); | 191 | generalFilter = dynamic_cast<GeneralFilter *>(filterTabs->get("GeneralFilter")); | ||
192 | 192 | | |||
193 | 193 | | |||
194 | // creating the result tab | 194 | // creating the result tab | ||
195 | 195 | | |||
196 | QWidget* resultTab = new QWidget(searcherTabs); | 196 | QWidget* resultTab = new QWidget(searcherTabs); | ||
197 | auto* resultLayout = new QGridLayout(resultTab); | 197 | auto* resultLayout = new QGridLayout(resultTab); | ||
198 | resultLayout->setSpacing(6); | 198 | resultLayout->setSpacing(6); | ||
199 | resultLayout->setContentsMargins(6, 6, 6, 6); | 199 | resultLayout->setContentsMargins(6, 6, 6, 6); | ||
▲ Show 20 Lines • Show All 475 Lines • Show Last 20 Lines |