[kmobiletools] KDE/kdepim/kmobiletools/kmobiletools/mainpart [POSSIBLY UNSAFE]
Luboš Luňák
l.lunak at kde.org
Thu Jun 14 11:18:48 CEST 2007
SVN commit 675441 by lunakl:
Pass proper widget to KRun::runCommand().
M +1 -1 kmobiletools_mainpart.cpp [POSSIBLY UNSAFE: KRun::runCommand]
--- trunk/KDE/kdepim/kmobiletools/kmobiletools/mainpart/kmobiletools_mainpart.cpp #675440:675441
@@ -170,7 +170,7 @@
} else
{
int ret=KMessageBox::questionYesNo( m_widget, i18n("<qt>You have no write access to lockfiles directory <b>/var/lock/</b>. Please correct this using the permission fixer wizard, or by hand with \"chmod -R a+rwx /var/lock\"<br>Do you want to run the Permission Wizard now?</qt>") );
- if(ret==KMessageBox::Yes) KRun::runCommand("kmtsetup",0);
+ if(ret==KMessageBox::Yes) KRun::runCommand("kmtsetup", m_widget->topLevelWidget());
}
}
More information about the kmobiletools
mailing list