Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Fix --help and --version
Browse files Browse the repository at this point in the history
  • Loading branch information
jonleighton committed Sep 19, 2012
1 parent 0d63e9c commit e7c37d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ Config::Config(QObject *parent)
: QObject(parent)
{
m_cmdLine = new QCommandLine;

// We will handle --help and --version ourselves in phantom.cpp
m_cmdLine->enableHelp(false);
m_cmdLine->enableVersion(false);

resetToDefaults();
}

Expand Down

0 comments on commit e7c37d4

Please sign in to comment.