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

Qt::WA_X11NetWmWindowType* should be removed from documentation since it is not used

XMLWordPrintable

    • 17d68c4fc371c32bd58d0a94ac63f0170edaf29e

      http://doc.qt.io/qt-5/qt.html#WidgetAttribute-enum contains Qt::WA_X11NetWmWindowType*, but they don't work in Qt5 and Qt/5.5/Src/qtbase/src/widgets/kernel/qwidget.cpp contains them like:

      #ifdef Q_DEAD_CODE_FROM_QT4_X11
          case Qt::WA_X11NetWmWindowTypeDesktop:
          case Qt::WA_X11NetWmWindowTypeDock:
          case Qt::WA_X11NetWmWindowTypeToolBar:
          case Qt::WA_X11NetWmWindowTypeMenu:
          case Qt::WA_X11NetWmWindowTypeUtility:
          case Qt::WA_X11NetWmWindowTypeSplash:
          case Qt::WA_X11NetWmWindowTypeDialog:
          case Qt::WA_X11NetWmWindowTypeDropDownMenu:
          case Qt::WA_X11NetWmWindowTypePopupMenu:
          case Qt::WA_X11NetWmWindowTypeToolTip:
          case Qt::WA_X11NetWmWindowTypeNotification:
          case Qt::WA_X11NetWmWindowTypeCombo:
          case Qt::WA_X11NetWmWindowTypeDND:
              if (testAttribute(Qt::WA_WState_Created))
                  d->setNetWmWindowTypes();
              break;
      #endif
      

      so they are not used and also not used in qwindow.cpp.

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

            docteam Qt Documentation Team
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes