--- a/QTfrontend/ui/widget/HistoryLineEdit.h Sat Oct 22 19:37:39 2011 +0200
+++ b/QTfrontend/ui/widget/HistoryLineEdit.h Sat Oct 22 20:41:23 2011 +0200
@@ -25,8 +25,10 @@
#ifndef HEDGEWARS_HISTORYLINEEDIT
#define HEDGEWARS_HISTORYLINEEDIT
+#include <QStringList>
+#include <QString>
+
#include <QLineEdit>
-#include <QString>
#include <QKeyEvent>
@@ -56,6 +58,11 @@
HistoryLineEdit(QWidget * parent = 0, int maxHistorySize = 64);
/**
+ * @brief Class destructor.
+ */
+ ~HistoryLineEdit();
+
+ /**
* @brief Appends current text to history (if not only whitespaces);
*/
void rememberCurrentText();