1
0
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:
apprb 2014-10-13 16:43:20 +09:00
parent 57943e2435
commit 339afafa05
No known key found for this signature in database
GPG Key ID: B001911B5B22FB9B
2 changed files with 7 additions and 4 deletions

View File

@ -423,11 +423,14 @@ QString FileTransferInstance::wrapIntoForm(const QString& content, const QString
res += "<div class=button>" + imgLeftA + "<br>" + imgLeftB + "</div>\n";
res += "</td>\n";
res += insertMiniature(type);
res += "<td width=" + QString::number(contentPrefWidth + 25) + ">\n";
res += "<td width=" + QString::number(contentPrefWidth) + ">\n";
res += "<div class=" + type + ">";
res += content;
res += "</div>\n";
res += "</td>\n";
res += "<td width=3>\n";
res += "<div class=" + type + "></div>\n";
res += "</td>\n";
res += "<td>\n";
res += "<div class=button>" + imgAstr + "<br>" + imgBstr + "</div>\n";
res += "</td>\n";

View File

@ -41,7 +41,7 @@ div.green {
margin-top: 12px;
margin-bottom: 12px;
margin-left: 0px;
margin-right: 12px;
margin-right: 0px;
color: @white;
background-color: @green;
font: @small;
@ -51,7 +51,7 @@ div.silver {
margin-top: 12px;
margin-bottom: 12px;
margin-left: 0px;
margin-right: 12px;
margin-right: 0px;
color: @black;
background-color: @lightGrey;
font: @small;
@ -61,7 +61,7 @@ div.red {
margin-top: 12px;
margin-bottom: 12px;
margin-left: 0px;
margin-right: 12px;
margin-right: 0px;
color: @white;
background-color: @red;
font: @small;