-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 21 November 2002 00:00, Mark van Voorden wrote:
>    If I want to change my status to one that requires filling in a
> reason, I can't get rid of this window anymore. Clicking OK, Cancel or
> the X doesn't do anything. I have to kill licq and start it again to get
> rid of it.
> I tested this with 1.2.0a and the latest snapshot (20021118) and they
> both don't work.
> It does work in the latest stable KDE 3.0.x version, but not in 3.1rc2
> and 3.1rc3 (didn't test 3.1rc1 or earlier). In Gnome 2.0 it doesn't work
> either.
> I'm using QT 3.1.0_pre20021104 on Gentoo Linux 1.4.

This is a bug in QT3.1 and i have sent a patch a week ago.

Unfortunately jon is currently very busy, please be patient till my patch is 
beeing included (or apply it yourself).

Bye,
Thomas

- -- 
You will be married within a year.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE93JMb+83LmoKU5MARAjOwAJ94A1ym8TDlh4kt7BtGnJuVhNLGdwCfQH+u
vyhDCUZOOGZ4ZuSMQU+S86U=
=wFqK
-----END PGP SIGNATURE-----
Index: licq/plugins/qt-gui/src/awaymsgdlg.cpp
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/awaymsgdlg.cpp,v
retrieving revision 1.48
diff -u -3 -p -r1.48 awaymsgdlg.cpp
--- licq/plugins/qt-gui/src/awaymsgdlg.cpp	23 Feb 2001 10:28:43 -0000	1.48
+++ licq/plugins/qt-gui/src/awaymsgdlg.cpp	15 Nov 2002 15:39:00 -0000
@@ -167,6 +167,13 @@ AwayMsgDlg::~AwayMsgDlg()
   emit done();
 }
 
+// Since QT3.1 final somehow this qdialog does not accept() the 
+// closeEvent, so we force it to do so :)
+void AwayMsgDlg::closeEvent(QCloseEvent *e)
+{
+	e->accept();
+}
+
 void AwayMsgDlg::slot_hints()
 {
   QString h = tr(hints);
Index: licq/plugins/qt-gui/src/awaymsgdlg.h
===================================================================
RCS file: /cvsroot/licq/qt-gui/src/awaymsgdlg.h,v
retrieving revision 1.21
diff -u -3 -p -r1.21 awaymsgdlg.h
--- licq/plugins/qt-gui/src/awaymsgdlg.h	12 Jul 2001 00:20:53 -0000	1.21
+++ licq/plugins/qt-gui/src/awaymsgdlg.h	15 Nov 2002 15:39:00 -0000
@@ -14,6 +14,9 @@ public:
   AwayMsgDlg(QWidget *parent = 0);
   ~AwayMsgDlg();
   void SelectAutoResponse(unsigned short status);
+	
+private:
+	void closeEvent(QCloseEvent *);
 
 protected:
   MLEditWrap *mleAwayMsg;

Reply via email to