use a member for current directory instead of QDir::current()