Log error when addImage API function fails

This commit is contained in:
GriffinR
2021-11-21 23:14:15 -05:00
committed by huderlem
parent bcf5339c32
commit 9cf0575914
3 changed files with 12 additions and 5 deletions

View File

@@ -79,7 +79,7 @@ public:
void clearItems();
void addText(QString text, int x, int y, QString color = "#000000", int fontSize = 12);
void addRect(int x, int y, int width, int height, QString color = "#000000", bool filled = false);
void addImage(int x, int y, QString filepath);
bool addImage(int x, int y, QString filepath);
private:
QList<OverlayItem*> items;
};