mirror of
https://github.com/tnodir/fort
synced 2024-11-15 04:27:09 +00:00
UI: AppInfoManager: Fix warning for 64-bit build.
This commit is contained in:
parent
f013efcf9e
commit
b60c87713b
@ -181,7 +181,7 @@ bool AppInfoManager::saveToDb(const QString &appPath, AppInfo &appInfo, const QI
|
||||
// Save icon image
|
||||
QVariant iconId;
|
||||
{
|
||||
const uint iconHash = qHashBits(appIcon.constBits(), size_t(appIcon.sizeInBytes()));
|
||||
const uint iconHash = uint(qHashBits(appIcon.constBits(), size_t(appIcon.sizeInBytes())));
|
||||
|
||||
iconId = sqliteDb()->executeEx(sqlSelectIconIdByHash, QVariantList() << iconHash);
|
||||
if (iconId.isNull()) {
|
||||
|
Loading…
Reference in New Issue
Block a user