Adding license

This commit is contained in:
Matt Keeter 2014-03-19 22:00:45 -04:00
parent 615d837b3b
commit 2692ba4d0e
2 changed files with 10 additions and 2 deletions

View file

@ -14,6 +14,13 @@ the project is under 1K lines of code and should be fairly approachable.
--------------------------------------------------------------------------------
License
-------
(c) 2014 Matt Keeter
This work may be reproduced, modified, distributed, performed, and displayed for any purpose. Copyright is retained and must be preserved. The work is provided as is; no warranty is provided, and users accept all liability.
--------------------------------------------------------------------------------
*p.s.* In my day job, I'm an engineer at [Formlabs](http://formlabs.com).
If you think `fstl` is cool, you should check out our
[jobs page](http://formlabs.com/jobs) -- we're hiring software developers

View file

@ -61,10 +61,11 @@ void Canvas::paintEvent(QPaintEvent *event)
backdrop->draw();
if (mesh) draw_mesh();
if (status.isNull()) return;
QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
if (!status.isNull())
painter.drawText(10, height() - 10, status);
painter.drawText(10, height() - 10, status);
}