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

Warning if we pass argument which has no effect

    XMLWordPrintable

Details

    Description

      It would be nice, if a warning appears when any argument is passed which has no effect.

      For example
      If we are using QTreeView::setFirstColumnSpanned()

      Following code has no effect if index is passed as ( 1, 1)
      setFirstColumnSpanned(0 , model()->index(1,1) , true)

      As QTreeView does not support expanding any but the first column.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            smk smk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes