Skip to content

Commit

Permalink
fix animation never stops
Browse files Browse the repository at this point in the history
  • Loading branch information
wadealer committed Mar 28, 2012
1 parent f86ee7a commit 2f2f19d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions patches/1930-psi-remove-anim-from-urlmenu.diff
@@ -0,0 +1,23 @@
--- psi.orig/src/widgets/urlobject.cpp
+++ psi/src/widgets/urlobject.cpp
@@ -20,6 +20,7 @@

#include "urlobject.h"
#include "psioptions.h"
+#include "psiiconset.h"

#include <QApplication>
#include <QClipboard>
@@ -69,10 +70,12 @@ public:

tr = qApp->translate("URLLabel", "Send message to");
act_send_message = new IconAction(tr, "psi/message", tr, 0, this);
+ ((PsiIcon*)act_send_message->psiIcon())->removeAnim(false);
connectXmppAction(act_send_message, "message");

tr = qApp->translate("URLLabel", "Chat with");
act_chat = new IconAction(tr, "psi/chat", tr, 0, this);
+ ((PsiIcon*)act_chat->psiIcon())->removeAnim(false);
connectXmppAction(act_chat, "message;type=chat");

tr = qApp->translate("URLLabel", "Join groupchat");

0 comments on commit 2f2f19d

Please sign in to comment.