mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
magic number removed in FileTransferInstance
This commit is contained in:
parent
57943e2435
commit
339afafa05
|
@ -423,11 +423,14 @@ QString FileTransferInstance::wrapIntoForm(const QString& content, const QString
|
||||||
res += "<div class=button>" + imgLeftA + "<br>" + imgLeftB + "</div>\n";
|
res += "<div class=button>" + imgLeftA + "<br>" + imgLeftB + "</div>\n";
|
||||||
res += "</td>\n";
|
res += "</td>\n";
|
||||||
res += insertMiniature(type);
|
res += insertMiniature(type);
|
||||||
res += "<td width=" + QString::number(contentPrefWidth + 25) + ">\n";
|
res += "<td width=" + QString::number(contentPrefWidth) + ">\n";
|
||||||
res += "<div class=" + type + ">";
|
res += "<div class=" + type + ">";
|
||||||
res += content;
|
res += content;
|
||||||
res += "</div>\n";
|
res += "</div>\n";
|
||||||
res += "</td>\n";
|
res += "</td>\n";
|
||||||
|
res += "<td width=3>\n";
|
||||||
|
res += "<div class=" + type + "></div>\n";
|
||||||
|
res += "</td>\n";
|
||||||
res += "<td>\n";
|
res += "<td>\n";
|
||||||
res += "<div class=button>" + imgAstr + "<br>" + imgBstr + "</div>\n";
|
res += "<div class=button>" + imgAstr + "<br>" + imgBstr + "</div>\n";
|
||||||
res += "</td>\n";
|
res += "</td>\n";
|
||||||
|
|
|
@ -41,7 +41,7 @@ div.green {
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 12px;
|
margin-right: 0px;
|
||||||
color: @white;
|
color: @white;
|
||||||
background-color: @green;
|
background-color: @green;
|
||||||
font: @small;
|
font: @small;
|
||||||
|
@ -51,7 +51,7 @@ div.silver {
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 12px;
|
margin-right: 0px;
|
||||||
color: @black;
|
color: @black;
|
||||||
background-color: @lightGrey;
|
background-color: @lightGrey;
|
||||||
font: @small;
|
font: @small;
|
||||||
|
@ -61,7 +61,7 @@ div.red {
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 12px;
|
margin-right: 0px;
|
||||||
color: @white;
|
color: @white;
|
||||||
background-color: @red;
|
background-color: @red;
|
||||||
font: @small;
|
font: @small;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user