Skip to content

Commit

Permalink
Fix CI errors.
Browse files Browse the repository at this point in the history
Signed-off-by: alex-z <blackslayer4@gmail.com>
  • Loading branch information
allexzander committed Dec 13, 2022
1 parent be6c4ea commit 540f7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/folderstatusmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ QVariant FolderStatusModel::data(const QModelIndex &index, int role) const
const auto suffix = (x._isNonDecryptable && x._checked && (!xParent || !xParent->_isEncrypted))
? tr(" - %1").arg("Could not decrypt!")
: QString{};
return x._size < 0 ? x._name + suffix : tr("%1 (%2)").arg(x._name, Utility::octetsToString(x._size)) + suffix;
return x._size < 0 ? QString(x._name + suffix) : QString(tr("%1 (%2)").arg(x._name, Utility::octetsToString(x._size)) + suffix);
}
case Qt::ToolTipRole:
return QString(QLatin1String("<qt>") + Utility::escape(x._size < 0 ? x._name : tr("%1 (%2)").arg(x._name, Utility::octetsToString(x._size))) + QLatin1String("</qt>"));
Expand Down

0 comments on commit 540f7c2

Please sign in to comment.