diff -r 786160610b4d -r afcd8e6d025b ginebra2/emulator/browser.cpp --- a/ginebra2/emulator/browser.cpp Wed Sep 01 13:56:21 2010 -0400 +++ b/ginebra2/emulator/browser.cpp Fri Sep 17 12:11:40 2010 -0400 @@ -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; }