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:
parent
7d579faf47
commit
4df5c81f09
|
@ -279,13 +279,13 @@ void ChatLog::mouseMoveEvent(QMouseEvent* ev)
|
|||
if (row != selClickedRow)
|
||||
{
|
||||
selectionMode = Multi;
|
||||
|
||||
lines[selClickedRow]->selectionCleared();
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (row >= selClickedRow)
|
||||
selLastRow = row;
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue
Block a user