forked from qt-creator/qt-creator
Debugger: make Location::fileName a Utils::FilePath
Change-Id: I637d39246ff576db1023f08c432a7f7b6aadbbaa Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -465,8 +465,8 @@ void QmlEngine::errorMessageBoxFinished(int result)
|
||||
|
||||
void QmlEngine::gotoLocation(const Location &location)
|
||||
{
|
||||
const QString fileName = location.fileName();
|
||||
if (QUrl(fileName).isLocalFile()) {
|
||||
if (location.fileName().isLocal()) {
|
||||
const QString fileName = location.fileName().toString();
|
||||
// internal file from source files -> show generated .js
|
||||
QTC_ASSERT(d->sourceDocuments.contains(fileName), return);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user