[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/arts/modules/effects
From:       Arnold Krille <arnold () arnoldarts ! de>
Date:       2003-06-01 9:32:40
[Download RAW message or body]

CVS commit by akrille: 

Removing a potential risk. KFrame_impl already includes a pointer to the QFrame and \
its already called _qframe.

CCMAIL: staikos@kde.org


  M +0 -2      kstereovolumecontrolgui_impl.cpp   1.4
  M +0 -1      kstereovolumecontrolgui_impl.h   1.2


--- kdemultimedia/arts/modules/effects/kstereovolumecontrolgui_impl.cpp  #1.3:1.4
@@ -31,6 +31,4 @@ KStereoVolumeControlGui_impl::KStereoVol
 {
 kdDebug()<<"KStereoVolumeControlGui_impl::KStereoVolumeControlGui_impl( QFrame* \
                "<<w<<" )"<<endl;
-        _qframe = dynamic_cast<QFrame*>( _qwidget );
-    // FIXME: what to do if this fails?
         _mapper = new KStereoVolumeControlGui_EventMapper( this, _qframe );
         this->addWidget( _left );

--- kdemultimedia/arts/modules/effects/kstereovolumecontrolgui_impl.h  #1.1:1.2
@@ -35,5 +35,4 @@ class KStereoVolumeControlGui_impl : vir
 {
 protected:
-        QFrame* _qframe;
         Arts::StereoVolumeControl _svc;
         Arts::LevelMeter _left, _right;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic