summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-04-09 03:54:39 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-04-09 03:54:39 +0300
commit3d3f2ec33e88bd86b0ee7b5aad11c7d2b7dfc0a0 (patch)
tree67a4e4dfd2ec2eac18fbbe250dc27e2857272f7c /src
parentClear text fields after login (diff)
downloadnheko-3d3f2ec33e88bd86b0ee7b5aad11c7d2b7dfc0a0.tar.xz
Add travis CI
Diffstat (limited to 'src')
-rw-r--r--src/RoomInfoListItem.cc1
-rw-r--r--src/ui/TextField.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/RoomInfoListItem.cc b/src/RoomInfoListItem.cc
index dedae3fd..25daad63 100644
--- a/src/RoomInfoListItem.cc
+++ b/src/RoomInfoListItem.cc
@@ -16,6 +16,7 @@
  */
 
 #include <QDebug>
+#include <QMouseEvent>
 
 #include "Ripple.h"
 #include "RoomInfo.h"
diff --git a/src/ui/TextField.cc b/src/ui/TextField.cc
index 3b701549..a93d801d 100644
--- a/src/ui/TextField.cc
+++ b/src/ui/TextField.cc
@@ -190,7 +190,7 @@ void TextField::paintEvent(QPaintEvent *event)
 	pen.setColor(underlineColor());
 	painter.setPen(pen);
 	painter.setOpacity(1);
-	painter.drawLine(2.5, y, wd, y);
+	painter.drawLine(2, y, wd, y);
 
 	QBrush brush;
 	brush.setStyle(Qt::SolidPattern);