|
Lines 73-79
Link Here
|
| 73 |
#define KDESU_ERR strerror(errno) |
73 |
#define KDESU_ERR strerror(errno) |
| 74 |
|
74 |
|
| 75 |
Minicli::Minicli( QWidget *parent, const char *name) |
75 |
Minicli::Minicli( QWidget *parent, const char *name) |
| 76 |
:KDialog( parent, name ), |
76 |
:KDialog( parent, name, false, WType_TopLevel ), |
| 77 |
m_autoCheckedRunInTerm(false) |
77 |
m_autoCheckedRunInTerm(false) |
| 78 |
{ |
78 |
{ |
| 79 |
setPlainCaption( i18n("Run Command") ); |
79 |
setPlainCaption( i18n("Run Command") ); |
|
Lines 504-510
int Minicli::runCommand()
Link Here
|
| 504 |
case KURIFilterData::HELP: |
504 |
case KURIFilterData::HELP: |
| 505 |
{ |
505 |
{ |
| 506 |
// No need for kfmclient, KRun does it all (David) |
506 |
// No need for kfmclient, KRun does it all (David) |
| 507 |
(void) new KRun( m_filterData->uri() ); |
507 |
(void) new KRun( m_filterData->uri(), parentWidget()); |
| 508 |
return 0; |
508 |
return 0; |
| 509 |
} |
509 |
} |
| 510 |
case KURIFilterData::EXECUTABLE: |
510 |
case KURIFilterData::EXECUTABLE: |
|
Lines 550-556
int Minicli::runCommand()
Link Here
|
| 550 |
if (service && service->isValid() && service->type() == "Application") |
550 |
if (service && service->isValid() && service->type() == "Application") |
| 551 |
{ |
551 |
{ |
| 552 |
notifyServiceStarted(service); |
552 |
notifyServiceStarted(service); |
| 553 |
KRun::run(*service, KURL::List()); |
553 |
KRun::run(*service, KURL::List(), this); |
| 554 |
return 0; |
554 |
return 0; |
| 555 |
} |
555 |
} |
| 556 |
|
556 |
|
|
Lines 558-564
int Minicli::runCommand()
Link Here
|
| 558 |
if (service && service->isValid() && service->type() == "Application") |
558 |
if (service && service->isValid() && service->type() == "Application") |
| 559 |
{ |
559 |
{ |
| 560 |
notifyServiceStarted(service); |
560 |
notifyServiceStarted(service); |
| 561 |
KRun::run(*service, KURL::List()); |
561 |
KRun::run(*service, KURL::List(), this); |
| 562 |
return 0; |
562 |
return 0; |
| 563 |
} |
563 |
} |
| 564 |
|
564 |
|