forked from qt-creator/qt-creator
Core: Tr::tr
Change-Id: I0064814b0689f0f65072d2b0f60e26162587fd54 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "idocument.h"
|
||||
|
||||
#include "coreplugintr.h"
|
||||
|
||||
#include <utils/filepath.h>
|
||||
#include <utils/infobar.h>
|
||||
#include <utils/minimizableinfobars.h>
|
||||
@@ -613,7 +615,7 @@ void IDocument::setRestoredFrom(const Utils::FilePath &path)
|
||||
d->autoSavePath = path;
|
||||
d->restored = true;
|
||||
Utils::InfoBarEntry info(Id(kRestoredAutoSave),
|
||||
tr("File was restored from auto-saved copy. "
|
||||
Tr::tr("File was restored from auto-saved copy. "
|
||||
"Select Save to confirm or Revert to Saved to discard changes."));
|
||||
infoBar()->addInfo(info);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user