--- a/src/colorSelectDialog.h Tue Oct 22 22:14:32 2013 +0300 +++ b/src/colorSelectDialog.h Thu Dec 05 13:51:52 2013 +0200 @@ -31,9 +31,9 @@ READ_PROPERTY (LDColor*, sel, setSelection) public: - explicit ColorSelector (short defval = -1, QWidget* parent = null); + explicit ColorSelector (int defval = -1, QWidget* parent = null); virtual ~ColorSelector(); - static bool getColor (short& val, short defval = -1, QWidget* parent = null); + static bool selectColor (int& val, int defval = -1, QWidget* parent = null); protected: void mousePressEvent (QMouseEvent* event);