diff --git a/src/viewpages/whatsnew_0_8/WhatsNew_0_8.cpp b/src/viewpages/whatsnew_0_8/WhatsNew_0_8.cpp index 9ef0ae2f3..e94b9b054 100644 --- a/src/viewpages/whatsnew_0_8/WhatsNew_0_8.cpp +++ b/src/viewpages/whatsnew_0_8/WhatsNew_0_8.cpp @@ -214,14 +214,14 @@ WhatsNewWidget_0_8::changeEvent( QEvent* e ) void WhatsNewWidget_0_8::inboxBoxClicked() { - activateBox( ui->inboxCaption, 0 ); + activateAnchor( ui->inboxCaption ); } void WhatsNewWidget_0_8::urlLookupBoxClicked() { - activateBox( ui->linkCaption, 1 ); + activateAnchor( ui->linkCaption ); } @@ -250,36 +250,9 @@ WhatsNewWidget_0_8::androidBoxClicked() void -WhatsNewWidget_0_8::activateBox( QWidget* widget, int activeIndex ) +WhatsNewWidget_0_8::activateAnchor( QWidget* /* widget */ ) { - deactivateAllBoxes(); - -/* widget->layout()->setContentsMargins( 8, 8, 8, 16 ); - widget->setStyleSheet( activeWidgetThumbStylesheet ); - - ui->stackedWidget->setCurrentIndex( activeIndex );*/ -} - - -void -WhatsNewWidget_0_8::deactivateBox( QWidget* widget ) -{ -/* widget->layout()->setContentsMargins( 8, 8, 8, 8 ); - widget->setStyleSheet( inactiveWidgetThumbStylesheet );*/ -} - - -void -WhatsNewWidget_0_8::deactivateAllBoxes() -{ -/* deactivateBox( ui->inboxBox ); - deactivateBox( ui->urlLookupBox ); - deactivateBox( ui->trendingBox ); - deactivateBox( ui->beatsBox ); - deactivateBox( ui->gmusicBox ); - deactivateBox( ui->networkingBox ); - deactivateBox( ui->designBox ); - deactivateBox( ui->androidBox );*/ + //FIXME } diff --git a/src/viewpages/whatsnew_0_8/WhatsNew_0_8.h b/src/viewpages/whatsnew_0_8/WhatsNew_0_8.h index cf51c538f..b0e5f666d 100644 --- a/src/viewpages/whatsnew_0_8/WhatsNew_0_8.h +++ b/src/viewpages/whatsnew_0_8/WhatsNew_0_8.h @@ -63,9 +63,7 @@ private slots: void androidBoxClicked(); private: - void activateBox( QWidget* widget, int activeIndex ); - void deactivateBox( QWidget* widget ); - void deactivateAllBoxes(); + void activateAnchor( QWidget* widget ); Ui::WhatsNewWidget_0_8 *ui; };