1427 path = Utilities.fromNativeSeparators(path) |
1427 path = Utilities.fromNativeSeparators(path) |
1428 url = manager.convertKeywordSearchToUrl(path) |
1428 url = manager.convertKeywordSearchToUrl(path) |
1429 if url.isValid(): |
1429 if url.isValid(): |
1430 return url |
1430 return url |
1431 |
1431 |
1432 return QUrl(path) |
1432 try: |
|
1433 return QUrl.fromUserInput(path) |
|
1434 except AttributeError: |
|
1435 return QUrl(path) |
1433 |
1436 |
1434 def __setPathComboBackground(self): |
1437 def __setPathComboBackground(self): |
1435 """ |
1438 """ |
1436 Private slot to change the path combo background to indicate save URLs. |
1439 Private slot to change the path combo background to indicate save URLs. |
1437 """ |
1440 """ |