Merge branch 'master' into google
[mdictionary] / src / mdictionary / backbone / History.cpp
index 6187976..154abfa 100644 (file)
@@ -21,7 +21,7 @@
 
 //Created by Mateusz Półrola
 
-#include "../../common/History.h"
+#include "../../include/History.h"
 #include <QDebug>
 
 History::History(int maxSize, QObject *parent) :
@@ -34,7 +34,6 @@ History::History(int maxSize, QObject *parent) :
     _listAvailable = false;
 }
 
-
 void History::setMaxSize(int size) {
     if(maxSize() <= 0) return;
     if(size > _maxSize) {
@@ -60,7 +59,7 @@ int History::maxSize() {
 
 void History::add(QString word) {
     if(currentElement != -1) {
-        //we search the same word so we don't add it again
+        //we search for the same word so we don't add it again
         if(_history[currentElement] == word)
             return;
     }