Thu, 18 Jul 2013 13:13:26 +0300
stuff
src/gui.cpp | file | annotate | diff | comparison | revisions | |
src/history.cpp | file | annotate | diff | comparison | revisions |
--- a/src/gui.cpp Tue Jul 16 21:02:12 2013 +0300 +++ b/src/gui.cpp Thu Jul 18 13:13:26 2013 +0300 @@ -184,13 +184,7 @@ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ============================================================================= void ForgeWindow::updateToolBars() { - // Update the quick color toolbar. - for (QToolButton* btn : m_colorButtons) - delete btn; - m_colorButtons.clear(); - - // Clear the toolbar - we deleted the buttons but there's still separators ui->colorToolbar->clear(); for (LDQuickColor& entry : m_quickColors) {
--- a/src/history.cpp Tue Jul 16 21:02:12 2013 +0300 +++ b/src/history.cpp Thu Jul 18 13:13:26 2013 +0300 @@ -177,7 +177,6 @@ EditHistory::~EditHistory() {} // ============================================================================= - void SwapHistory::undo() const { LDObject::fromID (a)->swap (LDObject::fromID (b)); }