qt4-gui: don't access memory of deleted temporary object
qt4-gui: initialize variables in the non-icq case

Avoids valgrind warnings about branching on uninitialized variables.
icq: remove duplicate variable definition