This cast is not necessary, and definitely not dynamic.

svn path=/trunk/KDE/kdebase/apps/; revision=826046
This commit is contained in:
Luboš Luňák 2008-06-29 18:26:37 +00:00
parent daa90d7655
commit f40fdbf0f0

View file

@ -76,7 +76,7 @@ NSPluginInstance::NSPluginInstance(QWidget *parent, const QString& viewerDBusId,
KConfig _cfg( "kcmnspluginrc" );
KConfigGroup cfg(&_cfg, "Misc");
if ( cfg.readEntry("demandLoad", false) ) {
_button = new QPushButton(i18n("Start Plugin"), dynamic_cast<EMBEDCLASS*>(this));
_button = new QPushButton(i18n("Start Plugin"), this);
_layout->addWidget(_button, 0, 0);
connect(_button, SIGNAL(clicked()), this, SLOT(doLoadPlugin()));
show();