You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

WBMain.cpp 315B

12345678910111213141516171819
  1. #include "WBMain.h"
  2. WBMain::WBMain(QStringList args)
  3. : WBFace(nullptr)
  4. {
  5. args.pop_front(); // This prog
  6. if (args.count()){
  7. _exe = args.front();
  8. args.pop_front();
  9. if (args.count())
  10. if (le_args)
  11. le_args->setText(args.join(" "));
  12. setWindowTitle(_exe.completeBaseName());
  13. }
  14. }
  15. WBMain::~WBMain()
  16. {
  17. }