Changeset 10731


Ignore:
Timestamp:
Jun 5, 2010, 10:59:24 AM (12 years ago)
Author:
charles
Message:

(trunk qt) #3265 "-v --version command line doesn't quit transmission" -- call ::exit(0) instead of exit(0). d'oh!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/app.cc

    r10727 r10731  
    125125            case 'w': password = optarg; break;
    126126            case 'm': minimized = true; break;
    127             case 'v':        Utils::toStderr( QObject::tr( "transmission %1" ).arg( LONG_VERSION_STRING ) ); exit( 0 ); break;
     127            case 'v':        Utils::toStderr( QObject::tr( "transmission %1" ).arg( LONG_VERSION_STRING ) ); ::exit( 0 ); break;
    128128            case TR_OPT_ERR: Utils::toStderr( QObject::tr( "Invalid option" ) ); showUsage( ); break;
    129129            default:         filenames.append( optarg ); break;
Note: See TracChangeset for help on using the changeset viewer.