View | Details | Raw Unified | Return to bug 155355
Collapse All | Expand All

(-)kdesktop/desktop.cc.sav (-1 / +1 lines)
Lines 501-507 void KDesktop::popupExecuteCommand(const Link Here
501
  // Created on demand
501
  // Created on demand
502
  if ( !m_miniCli )
502
  if ( !m_miniCli )
503
  {
503
  {
504
      m_miniCli = new Minicli;
504
      m_miniCli = new Minicli( this );
505
      m_miniCli->adjustSize(); // for the centering below
505
      m_miniCli->adjustSize(); // for the centering below
506
  }
506
  }
507
507
(-)kdesktop/minicli.cpp.sav (-4 / +4 lines)
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

Return to bug 155355