Uploaded image for project: 'Qt Solutions'
  1. Qt Solutions
  2. QTSOLBUG-46

QtToolBarManager::restoreState(): support ignoring actions that are not part of the state being restored

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • Not Scheduled
    • No Version
    • Other
    • None

    Description

      QtToolBarManager::restoreState() removes the old actions when restoring a state. This also removes new actions that are added before the old state is restored, and which are not part of the old state.

      It therefore becomes unnecessarily difficult to introduce new actions, for example in a new version of an application, without having to reset the tool bar states and start from scratch. Otherwise the new actions have to be added after the old state has been restored.

      It would therefore be nice if QtToolBarManager::restoreState() supported ignoring any actions that are not part of the old state being restored, so that old actions are still restored as per usual, but the new actions are still kept in the tool bar and not removed.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jkobus Jarek Kobus
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes