Remove useless variable

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=766292
This commit is contained in:
Riccardo Iaconelli 2008-01-25 14:53:12 +00:00
parent 67aae7bf6e
commit c99bda9dde

View File

@ -1205,8 +1205,7 @@ void Applet::showConfigurationInterface()
dialog->setAttribute(Qt::WA_DeleteOnClose, true);
QUiLoader loader;
QString filename = d->package->filePath("mainconfigui");
QFile f(filename);
QFile f(uiFile);
if (!f.open(QIODevice::ReadOnly)) {
delete dialog;
return;