[Development] Qt 5.6.0 header diff: QtWidgets.diff

Aleix Pol aleixpol at kde.org
Sat Oct 17 19:42:50 CEST 2015


On Fri, Oct 16, 2015 at 4:43 PM, Marc Mutz <marc.mutz at kdab.com> wrote:
> On Monday 21 September 2015 11:05:52 Knoll Lars wrote:
>> QDesktopWidget::primaryScreenChanged signal
>> -> IMO this should be added as NOTIFY to the corresponding property.
>
> The signal is missing the int argument
>
>     int primaryScreen()
>     -> primaryScreenChanged(int),
>     not: primaryScreenChanged()

It's weird, I can do that if you want, since I did the rest of the
primaryScreenChanged patch.

The weird thing is that primaryScreen() always returns 0, because the
first position is always the primary screen.

The signal is needed though, because despite the index not changing,
all the screen properties do change.

Aleix



More information about the Development mailing list