patchGNU Octave - Patches: patch #8042, Use menu triggered signal instead...

 
 

patch #8042: Use menu triggered signal instead of action triggered signal to rid cast

Submitter:  Dan Sebald <sebald>
Submitted:  Sun 05 May 2013 04:01:17 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 May 2013 09:48:46 AM UTC, comment #1: 

Patch pushed with changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/49653ed9561b

Thanks for this improvement.

Torsten Lilge <ttl>
Group Member
Sun 05 May 2013 04:01:17 AM UTC, original submission:  

A QMenu is a container class and includes the action as part of it's triggered(QAction *) signal.  Hence, the multiple connections to individual actions and bad cast and use of a pointer isn't required for the most-recently-used file list.

Dan Sebald <sebald>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #28023:  octave-mru_menu_action-2013may04.patch added by sebald (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by sebald (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-05 ttl StatusNone Done
        Open/ClosedOpen Closed
    2013-05-05 sebald Attached File- Added octave-mru_menu_action-2013may04.patch, #28023

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code