Changeset 2985

Show
Ignore:
Timestamp:
04/28/06 09:26:36 (3 years ago)
Author:
madcat
Message:

Now properly starts core as child process on linux as well.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • hydranode/hngui/main.cpp

    r2976 r2985  
    390390        QStringList args; 
    391391        args << "--disable-status" << "-l cgcomm,hnsh,http,ed2k,bt"; 
    392         args << "--transform-colors=false" << "--disable-colors=true"; 
     392        args << "--disable-colors=true"; 
    393393#ifdef Q_OS_WIN32 
     394        args << "--transform-colors=false"; 
    394395        args << "--module-dir=engine\\plugins"; 
    395396#else 
     
    398399        m_cmdLine = m_core->workingDirectory() + "/hydranode-core "; 
    399400        m_cmdLine += args.join(" "); 
     401#ifdef Q_OS_WIN32 
    400402        m_core->start("hydranode-core", args); 
     403#else 
     404        m_core->start("./hydranode-core", args); 
     405#endif 
     406 
    401407        if (m_core->state() == QProcess::Starting) { 
    402408                m_core->waitForStarted(1000);