Correct Translation Warnings

This commit is contained in:
Jonathan White 2019-10-20 20:39:21 -04:00
parent 936bda8f71
commit 4cc06f94c0
2 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,8 @@
*/ */
class OpData01 : public QObject class OpData01 : public QObject
{ {
Q_OBJECT
public: public:
explicit OpData01(QObject* parent = nullptr); explicit OpData01(QObject* parent = nullptr);
~OpData01() override; ~OpData01() override;

View File

@ -247,7 +247,7 @@ namespace
Q_UNUSED(resolvedPath); Q_UNUSED(resolvedPath);
return {reference.path, return {reference.path,
ShareObserver::Result::Warning, ShareObserver::Result::Warning,
tr("Unsigned share container are not supported - import prevented")}; ShareImport::tr("Unsigned share container are not supported - import prevented")};
#else #else
QFile file(resolvedPath); QFile file(resolvedPath);
if (!file.open(QIODevice::ReadOnly)) { if (!file.open(QIODevice::ReadOnly)) {