32 m_opened (false) {} |
32 m_opened (false) {} |
33 |
33 |
34 // ============================================================================= |
34 // ============================================================================= |
35 // ----------------------------------------------------------------------------- |
35 // ----------------------------------------------------------------------------- |
36 void History::undo() |
36 void History::undo() |
37 { if (m_changesets.size() == 0 || pos() == -1) |
37 { if (m_changesets.isEmpty() || pos() == -1) |
38 return; |
38 return; |
39 |
39 |
40 const Changeset& set = changeset (pos()); |
40 const Changeset& set = changeset (pos()); |
41 g_fullRefresh = false; |
41 g_fullRefresh = false; |
42 |
42 |