Changeset View
Changeset View
Standalone View
Standalone View
core/ModuleView.cpp
Show First 20 Lines • Show All 219 Lines • ▼ Show 20 Line(s) | 219 | if ( moduleProxy && moduleProxy->realModule()->inherits("KCModuleQml") ) { | |||
---|---|---|---|---|---|
220 | page->setHeaderVisible(false); | 220 | page->setHeaderVisible(false); | ||
221 | } | 221 | } | ||
222 | if( light ) { | 222 | if( light ) { | ||
223 | return; | 223 | return; | ||
224 | } | 224 | } | ||
225 | 225 | | |||
226 | if( moduleProxy && moduleProxy->realModule()->useRootOnlyMessage() ) { | 226 | if( moduleProxy && moduleProxy->realModule()->useRootOnlyMessage() ) { | ||
227 | page->setHeader( moduleInfo->moduleName() + QStringLiteral("<br><small>") + moduleProxy->realModule()->rootOnlyMessage() + QStringLiteral("</small>") ); | 227 | page->setHeader( moduleInfo->moduleName() + QStringLiteral("<br><small>") + moduleProxy->realModule()->rootOnlyMessage() + QStringLiteral("</small>") ); | ||
228 | page->setIcon( KDE::icon( moduleInfo->icon(), QStringList() << QStringLiteral("dialog-warning") ) ); | | |||
229 | } | 228 | } | ||
230 | } | 229 | } | ||
231 | 230 | | |||
232 | bool ModuleView::resolveChanges() | 231 | bool ModuleView::resolveChanges() | ||
233 | { | 232 | { | ||
234 | KCModuleProxy * currentProxy = d->mPages.value( d->mPageWidget->currentPage() ); | 233 | KCModuleProxy * currentProxy = d->mPages.value( d->mPageWidget->currentPage() ); | ||
235 | return resolveChanges(currentProxy); | 234 | return resolveChanges(currentProxy); | ||
236 | } | 235 | } | ||
▲ Show 20 Lines • Show All 203 Lines • Show Last 20 Lines |