Advertisement
mogra

How not to argparse...

Aug 2nd, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. else if (argument.contains("-enhancedAuth", Qt::CaseInsensitive))
  2.       {
  3.         haveEnhancedAuth = true;
  4.         _enhancedAuth = true;
  5.         if(argument.contains("=no", Qt::CaseInsensitive) || argument.contains("=false", Qt::CaseInsensitive))
  6.           _enhancedAuth = false;
  7.       }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement