remove three-year-old workaround for some kubuntu kdesudo bug
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1249929
This commit is contained in:
parent
cce6cdbacf
commit
05bfd84627
|
@ -40,9 +40,6 @@ int main(int argc, char* argv[])
|
|||
options.add("+[device]", ki18nc("@info:shell", "Device(s) to manage"));
|
||||
KCmdLineArgs::addCmdLineOptions(options);
|
||||
|
||||
// workaround for https://bugs.launchpad.net/kdesudo/+bug/272427
|
||||
unblockSigChild();
|
||||
|
||||
KApplication app;
|
||||
|
||||
registerMetaTypes();
|
||||
|
|
|
@ -58,14 +58,6 @@ void registerMetaTypes()
|
|||
qRegisterMetaType<Log::Level>("Log::Level");
|
||||
}
|
||||
|
||||
void unblockSigChild()
|
||||
{
|
||||
sigset_t sset;
|
||||
sigemptyset(&sset);
|
||||
sigaddset(&sset, SIGCHLD);
|
||||
sigprocmask(SIG_UNBLOCK, &sset, NULL);
|
||||
}
|
||||
|
||||
static QString suCommand()
|
||||
{
|
||||
KStandardDirs d;
|
||||
|
|
|
@ -37,7 +37,6 @@ namespace Solid
|
|||
}
|
||||
|
||||
LIBPARTITIONMANAGERPRIVATE_EXPORT void registerMetaTypes();
|
||||
LIBPARTITIONMANAGERPRIVATE_EXPORT void unblockSigChild();
|
||||
LIBPARTITIONMANAGERPRIVATE_EXPORT bool checkPermissions();
|
||||
|
||||
LIBPARTITIONMANAGERPRIVATE_EXPORT KAboutData* createPartitionManagerAboutData();
|
||||
|
|
Loading…
Reference in New Issue