mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 05:52:31 +02:00
Use an inner widget for the dock.
This commit is contained in:
parent
b721533f0b
commit
a7d35944cc
2 changed files with 8 additions and 5 deletions
|
@ -45,7 +45,7 @@
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="src/ui/ChatWindow.cpp" line="123"/>
|
<location filename="src/ui/ChatWindow.cpp" line="126"/>
|
||||||
<source>day</source>
|
<source>day</source>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>%n day</numerusform>
|
<numerusform>%n day</numerusform>
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="src/ui/ChatWindow.cpp" line="123"/>
|
<location filename="src/ui/ChatWindow.cpp" line="126"/>
|
||||||
<source>hour</source>
|
<source>hour</source>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>%n hour</numerusform>
|
<numerusform>%n hour</numerusform>
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message numerus="yes">
|
<message numerus="yes">
|
||||||
<location filename="src/ui/ChatWindow.cpp" line="123"/>
|
<location filename="src/ui/ChatWindow.cpp" line="126"/>
|
||||||
<source>minute</source>
|
<source>minute</source>
|
||||||
<translation>
|
<translation>
|
||||||
<numerusform>%n minute</numerusform>
|
<numerusform>%n minute</numerusform>
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
</translation>
|
</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="src/ui/ChatWindow.cpp" line="178"/>
|
<location filename="src/ui/ChatWindow.cpp" line="181"/>
|
||||||
<source>%1 online now:</source>
|
<source>%1 online now:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -31,7 +31,10 @@ ChatWindow::ChatWindow() :
|
||||||
ui(new Ui::ChatWindow),
|
ui(new Ui::ChatWindow),
|
||||||
numMessagesAfterLastTimeStamp(0)
|
numMessagesAfterLastTimeStamp(0)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
QWidget* widget = new QWidget();
|
||||||
|
setWidget(widget);
|
||||||
|
|
||||||
|
ui->setupUi(widget);
|
||||||
|
|
||||||
FlowLayout* flowLayout = new FlowLayout(0, 4, 4);
|
FlowLayout* flowLayout = new FlowLayout(0, 4, 4);
|
||||||
ui->usersWidget->setLayout(flowLayout);
|
ui->usersWidget->setLayout(flowLayout);
|
||||||
|
|
Loading…
Reference in a new issue