summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 617ac6b..56a5312 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -53,7 +53,7 @@ using namespace std;
/**
* First some GUI specs
*/
-#define NUM_HISTORY 3
+//#define NUM_HISTORY 3 // moved to a genuine variable
// Button sizes in cm (metric)
#define BUTTON_WIDTH 8
#define BUTTON_HEIGHT 2
@@ -114,6 +114,8 @@ public slots:
void mute_clicked();
private:
+ unsigned int num_history;
+
void clear();
Info *info;
@@ -153,7 +155,7 @@ private:
float rec_edge_counter;
QTimer *timer;
QLabel *img_recedge;
- HistoryWidget *img_history[NUM_HISTORY];
+ HistoryWidget **img_history;
QPushButton *btn_logo;
QPushButton *btn_clear;