diff options
| author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2015-08-21 15:39:35 +0200 |
|---|---|---|
| committer | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2015-09-01 08:49:26 +0000 |
| commit | af5b62844ca62bf30b47a8ecc9ed1f8b24dbff3c (patch) | |
| tree | 40d8c14136405754e11d3ac0ba359d19f067e651 /src/sql/drivers/mysql/qsql_mysql.cpp | |
| parent | dbb24ce477702768534d64b260e269d2abc13e41 (diff) | |
iOS: add undo/redo support
Enable the undo/redo buttons on the keyboard, as well as the
Cmd-Z/Cmd-Shift-Z shortcuts.
For UIKit to support this, we need to add undo actions to
first responders undo manager. Since we don't know if Qt
has anything to undo/redo, we just enable the shortcuts
all the time. To do that, we trick NSUndoManager to always
have both an undo operation and a redo operation in the
stack.
Change-Id: I3294a962cc24f56585e7e515856142f3dda56d0a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'src/sql/drivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
