diff options
Diffstat (limited to 'client/historywidget.h')
-rw-r--r-- | client/historywidget.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/historywidget.h b/client/historywidget.h index b798ddb..dd2345d 100644 --- a/client/historywidget.h +++ b/client/historywidget.h @@ -25,7 +25,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "config.h" -#ifdef USE_GUI #ifndef __MIAV_HISTORYWIDGET_H__ #define __MIAV_HISTORYWIDGET_H__ @@ -35,7 +34,7 @@ class HistoryWidget : public QLabel { Q_OBJECT public: - HistoryWidget(QWidget *parent); + HistoryWidget(); ~HistoryWidget(); void set_image(QImage *image); @@ -43,10 +42,12 @@ public: void mouseReleaseEvent(QMouseEvent *event); +protected: + void resizeEvent(QResizeEvent *event); + private: QImage *image; QWidget *parent; }; #endif/*__MIAV_HISTORYWIDGET_H__*/ -#endif/*USE_GUI*/ |