fixes #1423

git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6354 17fca916-40b9-46aa-a4ea-0a15b648b75c