mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
This cast is not necessary, and definitely not dynamic.
svn path=/trunk/KDE/kdebase/apps/; revision=826046
This commit is contained in:
parent
daa90d7655
commit
f40fdbf0f0
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue