summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKrzysztof Starecki <krzysztof.starecki@gmail.com>2018-12-31 21:01:15 +0100
committerKrzysztof Starecki <krzysztof.starecki@gmail.com>2018-12-31 21:01:15 +0100
commit954785f83e466d56450af76db8a1f2e72a09ddaa (patch)
tree29dd962787190bbf2067967bbd5843c2aef28f95 /src
parent895556f257c2625ac53371089835aab0d01979be (diff)
Fix some compiler warnings
Diffstat (limited to 'src')
-rw-r--r--src/downloadlist.cpp4
-rw-r--r--src/organizer_en.ts37
2 files changed, 23 insertions, 18 deletions
diff --git a/src/downloadlist.cpp b/src/downloadlist.cpp
index b21a5306..922de748 100644
--- a/src/downloadlist.cpp
+++ b/src/downloadlist.cpp
@@ -143,9 +143,9 @@ QVariant DownloadList::data(const QModelIndex &index, int role) const
return QIcon(":/MO/gui/warning_16");
} else if (role == Qt::TextAlignmentRole) {
if (index.column() == COL_NAME)
- return Qt::AlignVCenter | Qt::AlignLeft;
+ return QVariant(Qt::AlignVCenter | Qt::AlignLeft);
else
- return Qt::AlignVCenter | Qt::AlignRight;
+ return QVariant(Qt::AlignVCenter | Qt::AlignRight);
}
return QVariant();
}
diff --git a/src/organizer_en.ts b/src/organizer_en.ts
index 8576b392..82fe46e8 100644
--- a/src/organizer_en.ts
+++ b/src/organizer_en.ts
@@ -307,82 +307,87 @@ p, li { white-space: pre-wrap; }
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="88"/>
- <source>&lt; game %1 mod %2 file %3 &gt;</source>
+ <location filename="downloadlist.cpp" line="74"/>
+ <source>Filetime</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadlist.cpp" line="89"/>
- <source>Unknown</source>
+ <source>&lt; game %1 mod %2 file %3 &gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="downloadlist.cpp" line="90"/>
+ <source>Unknown</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="downloadlist.cpp" line="91"/>
<source>Pending</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="99"/>
+ <location filename="downloadlist.cpp" line="101"/>
<source>Started</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="100"/>
+ <location filename="downloadlist.cpp" line="102"/>
<source>Canceling</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="101"/>
+ <location filename="downloadlist.cpp" line="103"/>
<source>Pausing</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="102"/>
+ <location filename="downloadlist.cpp" line="104"/>
<source>Canceled</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="103"/>
+ <location filename="downloadlist.cpp" line="105"/>
<source>Paused</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="104"/>
+ <location filename="downloadlist.cpp" line="106"/>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="105"/>
+ <location filename="downloadlist.cpp" line="107"/>
<source>Fetching Info 1</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="106"/>
+ <location filename="downloadlist.cpp" line="108"/>
<source>Fetching Info 2</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="107"/>
+ <location filename="downloadlist.cpp" line="109"/>
<source>Downloaded</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="108"/>
+ <location filename="downloadlist.cpp" line="110"/>
<source>Installed</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="109"/>
+ <location filename="downloadlist.cpp" line="111"/>
<source>Uninstalled</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="127"/>
+ <location filename="downloadlist.cpp" line="129"/>
<source>Pending download</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="downloadlist.cpp" line="131"/>
+ <location filename="downloadlist.cpp" line="133"/>
<source>Information missing, please select &quot;Query Info&quot; from the context menu to re-retrieve.</source>
<translation type="unfinished"></translation>
</message>