X-Git-Url: http://git.maemo.org/git/?p=jspeed;a=blobdiff_plain;f=src%2Fmainmenu.cpp;h=e9a86709cab38be9fd07b748a4ac8f532abf1d10;hp=da6af01e8105445ce54039e29944ca3ab14ca567;hb=36d7905fbbcc49571fef5b7769707441f344d179;hpb=5cc39ab8c690baf4e2b189ec189890834e63badc diff --git a/src/mainmenu.cpp b/src/mainmenu.cpp index da6af01..e9a8670 100644 --- a/src/mainmenu.cpp +++ b/src/mainmenu.cpp @@ -39,7 +39,7 @@ speedAlarmSettings_(0), aboutDialog_(0) addAction(tr("Reset trip"), this, SIGNAL(resetTrip())); addAction(tr("Reset all"), this, SLOT(confirmReset())); addAction(tr("Theme"), this, SLOT(selectTheme())); - addAction(tr("Set unit"), this, SLOT(selectUnit())); + addAction(tr("Options"), this, SLOT(selectUnit())); addAction(tr("Speed camera alerts"), this, SLOT(openPoiAlerts())); addAction(tr("Speed alarm"), this, SLOT(openSpeedAlarm())); addAction(tr("Flip screen"), this, SIGNAL(flip())); @@ -83,6 +83,7 @@ void MainMenu::selectUnit() { unitSelector_ = new UnitSelector(this); connect(unitSelector_, SIGNAL(unitChanged()), this, SIGNAL(unitChanged())); + connect(unitSelector_, SIGNAL(orientationChanged()), this, SIGNAL(orientationChanged())); } unitSelector_->show();