mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
- Comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15417 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b27bb5cb53
commit
4f3033ff91
@ -107,7 +107,7 @@ private:
|
||||
* All points cached in this cache are only valid between subsequent
|
||||
* updated. (x,y) == (0,0) is the upper left screen corner, x increases
|
||||
* to the right, y increases downwords.
|
||||
* The cache is built in BufferView::Pimpl::metrics which is called
|
||||
* The cache is built in BufferView::updateMetrics which is called
|
||||
* from BufferView::Pimpl::update. The individual points are added
|
||||
* while we paint them. See for instance paintPar in RowPainter.C.
|
||||
*/
|
||||
|
@ -217,6 +217,8 @@ void QLToolbar::show(bool)
|
||||
|
||||
void QLToolbar::update()
|
||||
{
|
||||
// This is a speed bottleneck because this is called on every keypress
|
||||
// and update calls getStatus, which copies the cursor at least two times
|
||||
for (size_t i=0; i<ActionVector.size(); ++i)
|
||||
ActionVector[i]->update();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user