Fixed build

presentation
Andreas Butti 7 years ago
parent 5011e97c0e
commit 5e90f544e1
  1. 2
      src/gui/dialog/SelectBackgroundColorDialog.h
  2. 5
      src/undo/EraseUndoAction.cpp

@ -49,7 +49,7 @@ private:
/** /**
* Last used background colors (stored in settings) * Last used background colors (stored in settings)
*/ */
GdkRGBA lastBackgroundColors[LAST_BACKGROUND_COLOR_COUNT] = { 0 }; GdkRGBA lastBackgroundColors[LAST_BACKGROUND_COLOR_COUNT];
/** /**
* Selected color * Selected color

@ -10,10 +10,11 @@
#include <i18n.h> #include <i18n.h>
EraseUndoAction::EraseUndoAction(PageRef page) EraseUndoAction::EraseUndoAction(PageRef page)
: UndoAction("EraseUndoAction"), : UndoAction("EraseUndoAction")
page(page)
{ {
XOJ_INIT_TYPE(EraseUndoAction); XOJ_INIT_TYPE(EraseUndoAction);
this->page = page;
} }
EraseUndoAction::~EraseUndoAction() EraseUndoAction::~EraseUndoAction()

Loading…
Cancel
Save