Pass window to KRun::runCommand().

svn path=/trunk/KDE/kdebase/libkonq/; revision=674045
This commit is contained in:
Luboš Luňák 2007-06-11 16:04:30 +00:00
parent 91f6a0331d
commit 64d0990a29

View file

@ -418,7 +418,7 @@ void KNewMenu::slotNewFile()
if (id == 0)
{
// run the command for the templates
KRun::runCommand(QString(sender()->objectName()));
KRun::runCommand(QString(sender()->objectName()), d->m_parentWidget);
return;
}