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

Set Icon for Background Color Action

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5231 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3517aeda
......@@ -102,6 +102,7 @@ void CoreWidget::updatePopupMenuBackground(QMenu* _menu , const QPoint& _point)
action->setToolTip("Set the background color for the current viewer");
action->setStatusTip(tr("Set the background color for the current viewer"));
action->setWhatsThis(tr("Set the background color for the current viewer"));
action->setIcon(QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"BackgroundColor.png") );
connect(action, SIGNAL(triggered()), this, SLOT(slotSetLocalBackgroundColor()) );
//====================================================================================================
......
......@@ -90,8 +90,7 @@ void CoreWidget::setupMenuBar()
setGlobalBackgroundColor->setToolTip(tr("Set Background Color for all viewers"));
setGlobalBackgroundColor->setStatusTip(tr("Set Background Color for all viewers"));
setGlobalBackgroundColor->setWhatsThis("Set Background Color for all viewers");
icon.addFile(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"bgColor.png");
setGlobalBackgroundColor->setIcon(icon);
setGlobalBackgroundColor->setIcon(QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"BackgroundColor.png") );
connect(setGlobalBackgroundColor, SIGNAL(triggered()), this, SLOT(slotSetGlobalBackgroundColor()));
viewMenu_->addAction(setGlobalBackgroundColor);
......
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