diff -r 491a1d15372f -r 73c48011b8c7 ginebra2/emulator/browser.cpp --- a/ginebra2/emulator/browser.cpp Fri Sep 17 08:27:10 2010 +0300 +++ b/ginebra2/emulator/browser.cpp Mon Oct 04 00:04:54 2010 +0300 @@ -37,6 +37,11 @@ #endif #include +#ifdef ORBIT_UI +#include +const int KLandscapeRoatation =90; +#endif + #ifndef Q_OS_SYMBIAN // Uncomment the next line to enable the javascript console dialog. //#define CHROME_CONSOLE 1 @@ -306,7 +311,21 @@ m_splashScreen = new QLabel(NULL); m_splashScreen->setAlignment(Qt::AlignCenter); m_splashScreen->setStyleSheet("background-color: #FFF"); - m_splashScreen->setPixmap(QPixmap(imagePath)); + +#ifdef ORBIT_UI + if (m_view->orientation() == Qt::Horizontal) { + QMatrix mx; + mx.rotate(KLandscapeRoatation); + m_splashScreen->setPixmap((QPixmap(imagePath)).transformed(mx)); + } + else { + m_splashScreen->setPixmap((QPixmap(imagePath))); + } +#else + m_splashScreen->setPixmap((QPixmap(imagePath))); +#endif + + if (m_splashScreen->pixmap()->isNull()) { ;//qDebug() << "ChromeView::chromeLoaded: ERROR splashscreen creation failed. " << imagePath; }