forked from qt-creator/qt-creator
Fix compiler warnings
Change-Id: I51b86be846618df45595cb176c34ee8a8558082d Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -83,8 +83,9 @@ QString QmlProfilerTreeView::displayHeader(Fields header) const
|
|||||||
return QCoreApplication::translate(ctxt2, "Type");
|
return QCoreApplication::translate(ctxt2, "Type");
|
||||||
case MedianTime:
|
case MedianTime:
|
||||||
return QCoreApplication::translate(ctxt2, "Median Time");
|
return QCoreApplication::translate(ctxt2, "Median Time");
|
||||||
|
default:
|
||||||
|
return QString();
|
||||||
}
|
}
|
||||||
return QString();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
|
|||||||
@@ -347,7 +347,6 @@ void BaseTextDocument::checkPermissions()
|
|||||||
|
|
||||||
bool BaseTextDocument::open(QString *errorString, const QString &fileName, const QString &realFileName)
|
bool BaseTextDocument::open(QString *errorString, const QString &fileName, const QString &realFileName)
|
||||||
{
|
{
|
||||||
QString title = tr("untitled");
|
|
||||||
QStringList content;
|
QStringList content;
|
||||||
|
|
||||||
ReadResult readResult = Utils::TextFileFormat::ReadIOError;
|
ReadResult readResult = Utils::TextFileFormat::ReadIOError;
|
||||||
|
|||||||
Reference in New Issue
Block a user