forked from qt-creator/qt-creator
UI text: use full stops in the end of messages
Change-Id: I6292db7629cbbe466a33874475c40965fa57575f Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -121,7 +121,7 @@ bool ImageViewer::createNew(const QString &contents)
|
|||||||
bool ImageViewer::open(QString *errorString, const QString &fileName, const QString &realFileName)
|
bool ImageViewer::open(QString *errorString, const QString &fileName, const QString &realFileName)
|
||||||
{
|
{
|
||||||
if (!d->imageView->openFile(realFileName)) {
|
if (!d->imageView->openFile(realFileName)) {
|
||||||
*errorString = tr("Cannot open image file %1").arg(QDir::toNativeSeparators(realFileName));
|
*errorString = tr("Cannot open image file %1.").arg(QDir::toNativeSeparators(realFileName));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
setDisplayName(QFileInfo(fileName).fileName());
|
setDisplayName(QFileInfo(fileName).fileName());
|
||||||
|
|||||||
Reference in New Issue
Block a user