~ubuntu-branches/ubuntu/precise/kde-workspace/precise-security

« back to all changes in this revision

Viewing changes to systemsettings/core/ModuleView.cpp

Tags: upstream-4.7.2
Import upstream version 4.7.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
    KPageWidgetItem *page = new KPageWidgetItem( moduleScroll, module->moduleName() );
174
174
    // Provide information to the users
175
175
 
176
 
    if( module->service()->hasServiceType("SystemSettingsExternalApp") ) { // Is it an external app?
 
176
    if( module->service()->hasServiceType("SystemSettingsExternalApp") ||  // Is it an external app?
 
177
            module->service()->substituteUid() ) { // ...or does it require UID substituion?
177
178
        QWidget * externalWidget = new ExternalAppModule( this, module );
178
179
        moduleScroll->setWidget( externalWidget );
179
180
    } else { // It must be a normal module then