editor: use QApplication::arguments instead of argc/argv

Qt can take some debug-flags from the command-line. But if we also
parse the same command-line, we'll get confused about what those
flags were. So let's look at QApplication::arguments instead, as
it has those flags removed.