View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#39
I guess the bug Metalist reported is due to this
Code:
#if defined(Q_WS_MAEMO_5)
        //If not landscape, need to return to landscape view
        if(m_sCurrOrientation.compare(Core::ORIENTATION_LANDSCAPE) != 0)
        {
            setAttribute(Qt::WA_Maemo5LandscapeOrientation, true);

            hide();
            showMaximized();
        }
#endif
Maybe you could check if the window that requested the keyboard has HILDON_PORTRAIT_MODE_SUPPORT set on it? If it doesn't, do that part of the code, else, skip and hide().
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post: