Simple password generator in QT