From 139c4452d9df0559da319ab2afbe30c876e8befd Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Sun, 1 Dec 2002 21:20:43 +0000 Subject: added fix for qt-3.1 --- net-im/licq/files/1.2.0a-qt31.patch | 38 +++++++++++++++++++++++++++++++++ net-im/licq/files/digest-licq-1.2.0a-r2 | 1 + 2 files changed, 39 insertions(+) create mode 100644 net-im/licq/files/1.2.0a-qt31.patch create mode 100644 net-im/licq/files/digest-licq-1.2.0a-r2 (limited to 'net-im/licq/files') diff --git a/net-im/licq/files/1.2.0a-qt31.patch b/net-im/licq/files/1.2.0a-qt31.patch new file mode 100644 index 000000000000..e7eda788032c --- /dev/null +++ b/net-im/licq/files/1.2.0a-qt31.patch @@ -0,0 +1,38 @@ +Index: licq/plugins/qt-gui-1.2.0/src/awaymsgdlg.cpp +=================================================================== +RCS file: /cvsroot/licq/qt-gui-1.2.0/src/awaymsgdlg.cpp,v +retrieving revision 1.48 +diff -u -3 -p -r1.48 awaymsgdlg.cpp +--- licq/plugins/qt-gui-1.2.0/src/awaymsgdlg.cpp 23 Feb 2001 10:28:43 -0000 1.48 ++++ licq/plugins/qt-gui-1.2.0/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-1.2.0/src/awaymsgdlg.h +=================================================================== +RCS file: /cvsroot/licq/qt-gui-1.2.0/src/awaymsgdlg.h,v +retrieving revision 1.21 +diff -u -3 -p -r1.21 awaymsgdlg.h +--- licq/plugins/qt-gui-1.2.0/src/awaymsgdlg.h 12 Jul 2001 00:20:53 -0000 1.21 ++++ licq/plugins/qt-gui-1.2.0/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; diff --git a/net-im/licq/files/digest-licq-1.2.0a-r2 b/net-im/licq/files/digest-licq-1.2.0a-r2 new file mode 100644 index 000000000000..7b91e3648cbf --- /dev/null +++ b/net-im/licq/files/digest-licq-1.2.0a-r2 @@ -0,0 +1 @@ +MD5 3f977d83b36b26d1bc716be3e3336315 licq-1.2.0a.tar.bz2 1741476 -- cgit v1.2.3-65-gdbad