109 { if (!opened()) |
109 { if (!opened()) |
110 return; |
110 return; |
111 |
111 |
112 setOpened (false); |
112 setOpened (false); |
113 |
113 |
114 if (m_currentArchive.size() == 0) |
114 if (m_currentArchive.isEmpty()) |
115 return; |
115 return; |
116 |
116 |
117 while (pos() < size() - 1) |
117 while (pos() < size() - 1) |
118 m_changesets.erase (size() - 1); |
118 m_changesets.removeLast(); |
119 |
119 |
120 m_changesets << m_currentArchive; |
120 m_changesets << m_currentArchive; |
121 m_currentArchive.clear(); |
121 m_currentArchive.clear(); |
122 setPos (pos() + 1); |
122 setPos (pos() + 1); |
123 updateActions(); |
123 updateActions(); |