[kmobiletools] KDE/kdepim [POSSIBLY UNSAFE]
Luboš Luňák
l.lunak at kde.org
Mon Jun 11 18:19:48 CEST 2007
SVN commit 674055 by lunakl:
Pass window to KRun::runCommand().
M +1 -1 kmail/kmmainwidget.cpp [POSSIBLY UNSAFE: KRun::runCommand]
M +1 -1 kmobiletools/kmobiletools/mainpart/kmobiletools_mainpart.cpp [POSSIBLY UNSAFE: KRun::runCommand]
M +1 -1 kontact/interfaces/plugin.cpp [POSSIBLY UNSAFE: KRun::runCommand]
M +1 -1 korganizer/calendarview.cpp [POSSIBLY UNSAFE: KRun::runCommand]
M +3 -3 libkdepim/addresseeview.cpp [POSSIBLY UNSAFE: KRun::runCommand]
M +1 -1 libkdepim/kcmdesignerfields.cpp [POSSIBLY UNSAFE: KRun::runCommand]
--- trunk/KDE/kdepim/kmail/kmmainwidget.cpp #674054:674055
@@ -855,7 +855,7 @@
//-----------------------------------------------------------------------------
void KMMainWidget::slotImport()
{
- KRun::runCommand("kmailcvt");
+ KRun::runCommand("kmailcvt", topLevelWidget());
}
//-----------------------------------------------------------------------------
--- trunk/KDE/kdepim/kmobiletools/kmobiletools/mainpart/kmobiletools_mainpart.cpp #674054:674055
@@ -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");
+ if(ret==KMessageBox::Yes) KRun::runCommand("kmtsetup",0);
}
}
--- trunk/KDE/kdepim/kontact/interfaces/plugin.cpp #674054:674055
@@ -203,7 +203,7 @@
void Plugin::bringToForeground()
{
if (!d->executableName.isEmpty())
- KRun::runCommand(d->executableName);
+ KRun::runCommand(d->executableName,0);
}
bool Kontact::Plugin::showInSideBar() const
--- trunk/KDE/kdepim/korganizer/calendarview.cpp #674054:674055
@@ -1449,7 +1449,7 @@
void CalendarView::openAddressbook()
{
- KRun::runCommand("kaddressbook");
+ KRun::runCommand("kaddressbook", topLevelWidget());
}
void CalendarView::setModified(bool modified)
--- trunk/KDE/kdepim/libkdepim/addresseeview.cpp #674054:674055
@@ -563,7 +563,7 @@
}
commandLine.replace( "%N", number );
- KRun::runCommand( commandLine );
+ KRun::runCommand( commandLine, topLevelWidget());
}
void AddresseeView::smsTextClicked( const QString &number )
@@ -599,7 +599,7 @@
commandLine.replace( "%N", number );
commandLine.replace( "%F", file.fileName() );
- KRun::runCommand( commandLine );
+ KRun::runCommand( commandLine, topLevelWidget());
}
void AddresseeView::faxNumberClicked( const QString &number )
@@ -614,7 +614,7 @@
}
commandLine.replace( "%N", number );
- KRun::runCommand( commandLine );
+ KRun::runCommand( commandLine, topLevelWidget());
}
void AddresseeView::imAddressClicked()
--- trunk/KDE/kdepim/libkdepim/kcmdesignerfields.cpp #674054:674055
@@ -440,7 +440,7 @@
cmdLine += ' ' + K3Process::quote( pageItem->path() );
}
- KRun::runCommand( cmdLine );
+ KRun::runCommand( cmdLine, topLevelWidget());
}
#include "kcmdesignerfields.moc"
More information about the kmobiletools
mailing list