--- a/qtinternetradio/ui/src/irstationdetailsview.cpp Wed Aug 18 09:40:26 2010 +0300
+++ b/qtinternetradio/ui/src/irstationdetailsview.cpp Thu Sep 02 20:17:46 2010 +0300
@@ -39,14 +39,10 @@
iCountry(NULL),iBitRate(NULL),
iNowPlayingUrl(NULL)
{
- //this view won't be starting view, don't need lazy init
- IRBaseView::lazyInit();
- setInitCompleted(true);
createDetails();
connect( getViewManager(), SIGNAL( orientationChanged(Qt::Orientation) ),
this, SLOT( handleOrientationChanged(Qt::Orientation) ) );
- handleOrientationChanged(getViewManager()->orientation());
}
IRStationDetailsView::~IRStationDetailsView()
@@ -75,6 +71,7 @@
iNowPlayingUrl->setPlainText(urlList->at(KChannelURLIndex));
}
delete urlList;
+ handleOrientationChanged(getViewManager()->orientation());
}
/*
@@ -90,6 +87,7 @@
iBitRate->setPlainText(QString::number(iPlayController->getNowPlayingBitRate()) + QString("kbps"));
iDescription->setPlainText(nowPlayingPreset->description);
iNowPlayingUrl->setPlainText(iPlayController->getNowPlayingUrl());
+ handleOrientationChanged(getViewManager()->orientation());
}
/*