[licq-im/licq] facc43: qt4-gui: Workaround to not steal window focus

[email protected]
Newsgroups gmane.network.licq.cvs
Message-ID <[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/licq-im/licq

  Commit: facc438ef2cd106eddd93a6895d9e398a4587f86
      https://github.com/licq-im/licq/commit/facc438ef2cd106eddd93a6895d9e398a4587f86
  Author: Anders Olofsson <[email protected]>
  Date:   2011-06-27 (Mon, 27 Jun 2011)

  Changed paths:
    M qt4-gui/src/core/licqgui.cpp

  Log Message:
  -----------
  qt4-gui: Workaround to not steal window focus

This restores the active window after an event window has been created
as an auto-popup.
It also adds a check to the previous commit to make sure we don't try
to restore focus if we didn't have the focus (e.g. don't try to use a
null pointer).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.