here is my very tiny contribution to the great licq :)
i was annoyed by the fact that a left button click on the wharf was able
to make the licq qt gui appear, but not disapear, so here it is
Notice that i do not have any experience in qt programming and that I
perhaps use the wrong method to achieve my goal, but it would be nice to
have this in the next version

// START

--- wharf.cpp.orig      Fri Oct 10 16:41:53 2003
+++ wharf.cpp   Fri Oct 10 16:43:20 2003
@@ -129,8 +129,13 @@
   switch(e->button())
   {
     case LeftButton:
-      mainwin->show();
-      mainwin->raise();
+      if(!mainwin->isVisible())
+      {
+        mainwin->show();
+        mainwin->raise();
+      }
+      else
+        mainwin->hide();
       break;
     case MidButton:
       mainwin->callMsgFunction();

// END


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to