summaryrefslogtreecommitdiff
path: root/src/historywidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/historywidget.h')
-rw-r--r--src/historywidget.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/historywidget.h b/src/historywidget.h
index d464d59..85c498f 100644
--- a/src/historywidget.h
+++ b/src/historywidget.h
@@ -24,13 +24,11 @@
* along with MIaV; if not, write to the Free Software
* 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__
-#include <qlabel.h>
-#include <qimage.h>
+#include <QLabel>
+#include <QImage>
class HistoryWidget : public QLabel {
Q_OBJECT
@@ -44,9 +42,9 @@ public:
void mouseReleaseEvent(QMouseEvent *event);
private:
+ QPixmap p;
QImage *image;
QWidget *parent;
};
#endif/*__MIAV_HISTORYWIDGET_H__*/
-#endif/*USE_GUI*/