mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
fix tooltips in toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4779 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d8a3c3c0f3
commit
07e56bf085
@ -1,3 +1,7 @@
|
||||
2002-07-25 John Levon <levon@movementarian.org>
|
||||
|
||||
* Toolbar_pimpl.C: fix tooltips
|
||||
|
||||
2002-07-25 John Levon <levon@movementarian.org>
|
||||
|
||||
* QCommandEdit.C:
|
||||
|
@ -249,16 +249,12 @@ void Toolbar::Pimpl::add(int action)
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
char const * tooltip = _(lyxaction.helpText(action)).c_str();
|
||||
|
||||
QToolButton * tb =
|
||||
new QToolButton(getIconPixmap(action),
|
||||
tooltip, tooltip,
|
||||
_(lyxaction.helpText(action)).c_str(), "",
|
||||
proxy_.get(), SLOT(button_selected()), toolbars_.back());
|
||||
|
||||
map_[tb] = action;
|
||||
|
||||
QToolTip::add(tb, tooltip);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user