From 4f84ffc811d93371f395f11a0e0f42000eaa99fc Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 7 Mar 2006 19:12:18 +0000 Subject: *** empty log message *** --- client/historywidget.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client/historywidget.h') 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*/ -- cgit v1.2.3