set the help tooltip also when creating a toolbar button for the action

(no new string, the same string is already there)

svn path=/trunk/KDE/kdegraphics/okular/; revision=742801
This commit is contained in:
Pino Toscano 2007-11-28 22:54:22 +00:00
parent 3ce7e38f06
commit 2f39925acb

View file

@ -68,6 +68,7 @@ QWidget* ToolAction::createWidget( QWidget *parent )
button->menu()->addAction( action );
}
button->setDefaultAction( button->menu()->actions().first() );
button->setToolTip( i18n("Click to use the current selection tool\nClick and hold to choose another selection tool") );
}
return button;