Changeset View
Changeset View
Standalone View
Standalone View
core/utilities/fuzzysearch/sketchwidget.cpp
Context not available. | |||||
90 | void startDrawEvent(const QPoint& pos) | 90 | void startDrawEvent(const QPoint& pos) | ||
---|---|---|---|---|---|
91 | { | 91 | { | ||
92 | // Remove all draw events from history map which are upper than current index. | 92 | // Remove all draw events from history map which are upper than current index. | ||
93 | // If user redo actions and make new draw events, theses one will be queued at | 93 | // If user redo actions and makes new draw events, these will be queued at the | ||
94 | // end of history and will replace removed items. | 94 | // end of the history and will replace removed items. | ||
95 | for (int i = drawEventList.count() - 1 ; i > eventIndex ; --i) | 95 | for (int i = drawEventList.count() - 1 ; i > eventIndex ; --i) | ||
96 | { | 96 | { | ||
97 | drawEventList.removeAt(i); | 97 | drawEventList.removeAt(i); | ||
Context not available. |