diff options
Diffstat (limited to 'kcontrol/kcontrol/modules.cpp')
-rw-r--r-- | kcontrol/kcontrol/modules.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/kcontrol/modules.cpp b/kcontrol/kcontrol/modules.cpp index 97b36719a..11317c2d2 100644 --- a/kcontrol/kcontrol/modules.cpp +++ b/kcontrol/kcontrol/modules.cpp @@ -142,12 +142,12 @@ void ConfigModule::runAsRoot() // create an embed widget that will embed the // kcmshell running as root - _embedLayout = new TQVBoxLayout(_module->tqparentWidget()); - _embedFrame = new TQVBox( _module->tqparentWidget() ); + _embedLayout = new TQVBoxLayout(_module->parentWidget()); + _embedFrame = new TQVBox( _module->parentWidget() ); _embedFrame->setFrameStyle( TQFrame::Box | TQFrame::Raised ); TQPalette pal( red ); pal.setColor( TQColorGroup::Background, - _module->tqparentWidget()->tqcolorGroup().background() ); + _module->parentWidget()->tqcolorGroup().background() ); _embedFrame->setPalette( pal ); _embedFrame->setLineWidth( 2 ); _embedFrame->setMidLineWidth( 2 ); |