1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

use plaintext label for username and status in header

This commit is contained in:
agilob 2015-08-30 13:00:54 +01:00 committed by tux3
parent 7d579faf47
commit 4df5c81f09
3 changed files with 9 additions and 4 deletions

View File

@ -279,13 +279,13 @@ void ChatLog::mouseMoveEvent(QMouseEvent* ev)
if (row != selClickedRow)
{
selectionMode = Multi;
lines[selClickedRow]->selectionCleared();
}
}
else
{
return;
}
if (row >= selClickedRow)
selLastRow = row;

View File

@ -858,6 +858,9 @@ QSplitter:handle{
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>Your name</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
@ -940,6 +943,9 @@ QSplitter:handle{
<pointsize>8</pointsize>
</font>
</property>
<property name="text">
<string>Your status</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>

View File

@ -1930,9 +1930,8 @@ QString Widget::getStatusIconPath(Status status)
}
}
inline QIcon Widget::getStatusIcon(Status status, uint32_t, uint32_t)
inline QIcon Widget::getStatusIcon(Status status, uint32_t w, uint32_t h)
{
#ifdef Q_OS_LINUX
QString desktop = getenv("XDG_CURRENT_DESKTOP");