[Merge] lp:~mir-team/qtubuntu/support-state-changing into lp:qtubuntu

Daniel d'Andrada daniel.dandrada at canonical.com
Tue Sep 30 19:30:11 UTC 2014


Also platform-api has U_MINIMIZED_STATE, why don't you set it there accordingly?

You should ignore Qt::WindowActive. This value is not supported by this method and Qt will never call this method with this value.

Snipped from Qt code:

"""
void QWindow::setWindowState(Qt::WindowState state)
{
    if (state == Qt::WindowActive) {
        qWarning() << "QWindow::setWindowState does not accept Qt::WindowActive";
        return;
    }

    if (d->platformWindow)
        d->platformWindow->setWindowState(state);
"""
-- 
https://code.launchpad.net/~mir-team/qtubuntu/support-state-changing/+merge/235546
Your team Ubuntu Phablet Team is subscribed to branch lp:qtubuntu.



More information about the Ubuntu-reviews mailing list