Summary: | Right-clicking link in topic shows empty menu - sometimes | ||
---|---|---|---|
Product: | [Applications] konversation | Reporter: | Nicolás Alvarez <nalvarez> |
Component: | general | Assignee: | Konversation Developers <konversation-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hein |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nicolás Alvarez
2011-01-02 02:29:20 UTC
Could you please state your Qt version? The topic label uses separate code paths on Qt 4.6 and 4.7 due to additions to the QLabel API in Qt 4.7. Qt: 4.6.3 KDE Development Platform: 4.4.5 (KDE 4.4.5) Konversation: 1.3.1+ #4087 commit d675514d3c5fb72ac2754d691789996ce1553299 branch master Author: Eike Hein <hein@kde.org> Date: Mon Jan 3 19:42:38 2011 +0100 In <Qt 4.7 mode make linkMenu() set the link actions visible in case textMenu() hid them. BUG:261842 diff --git a/src/viewer/irccontextmenus.cpp b/src/viewer/irccontextmenus.cpp index 5f1339b..faec234 100644 --- a/src/viewer/irccontextmenus.cpp +++ b/src/viewer/irccontextmenus.cpp @@ -916,6 +916,9 @@ void IrcContextMenus::setupLinkMenu() void IrcContextMenus::linkMenu(const QPoint& pos, const QString& link) { + foreach(QAction* action, self()->m_linkActions) + action->setVisible(true); + QAction* action = self()->m_linkMenu->exec(pos); processLinkAction(extractActionId(action), link); |