@ -49,7 +49,7 @@ private:
/**
* Last used background colors (stored in settings)
*/
GdkRGBA lastBackgroundColors[LAST_BACKGROUND_COLOR_COUNT] = { 0 };
GdkRGBA lastBackgroundColors[LAST_BACKGROUND_COLOR_COUNT];
* Selected color
@ -10,10 +10,11 @@
#include <i18n.h>
EraseUndoAction::EraseUndoAction(PageRef page)
: UndoAction("EraseUndoAction"),
: UndoAction("EraseUndoAction")
page(page)
{
XOJ_INIT_TYPE(EraseUndoAction);
this->page = page;
}
EraseUndoAction::~EraseUndoAction()