Commit b8bb0db3 authored by Jan Möbius's avatar Jan Möbius

Added Icon for Coordsys Hide/show

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6693 383ad7c9-94d9-4d36-a494-682f7c89f535
parent dcbb3f03
......@@ -351,7 +351,7 @@ void CoreWidget::setupMenuBar()
coordSys->setCheckable(true);
coordSys->setChecked(true);
coordSys->setStatusTip("Toggle visibility of the coordinate systems");
// coordSys->setIcon( QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"snapshot.png") );
coordSys->setIcon( QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"coordsys.png") );
connect(coordSys, SIGNAL(triggered(bool)), this, SLOT( slotCoordSysVisibility(bool) ) );
viewMenu_->addSeparator();
......
......@@ -106,14 +106,10 @@ void CoreWidget::slotContextHomeView() {
/// Show / hide wheels in examiner windows
void CoreWidget::slotSwitchWheels(bool _state) {
std::vector< glViewer* >::iterator it = examiner_widgets_.begin();
std::vector< glViewer* >::iterator it
= examiner_widgets_.begin();
for(; it != examiner_widgets_.end(); it++) {
_state ? (*it)->slotShowWheels() : (*it)->slotHideWheels();
}
for(; it != examiner_widgets_.end(); it++)
_state ? (*it)->slotShowWheels() : (*it)->slotHideWheels();
}
/// Set the viewer to home position
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment