Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96851

There is no way to detach style from QProxyStyle

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.10
    • Widgets: Styles
    • None
    • All

    Description

      If at some point I make a QProxyStyle, there is no way later to revert to original style.

      The problem is that QProxyStyle calls setProxy() on original style, but doesn't revert it (to nullptr for example) upon setting a different baseStyle. And QStyle::setProxy() is a private method, so I cannot call it manually.

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            cavaler Pavel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes