fixed uninitialized qint32
[quassel.git] / src / qtui / inputwidget.h
index 05916ee..033378d 100644 (file)
@@ -99,6 +99,7 @@ private:
     QHash<int, QString> tempHistory;
     qint32 idx;
     QString inputLine;
     QHash<int, QString> tempHistory;
     qint32 idx;
     QString inputLine;
+    inline HistoryState() : idx(0) {};
   };
 
   QMap<BufferId, HistoryState> historyMap;
   };
 
   QMap<BufferId, HistoryState> historyMap;