small fix

* added #include <QDockWidget> to libs/gui/viewer.cpp