1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-02 01:25:46 +01:00

Get rid of apparently redundant QIs.

This commit is contained in:
Kris Maglione
2011-03-19 01:12:22 -04:00
parent b7eb21139a
commit 57dbc1b913
5 changed files with 10 additions and 11 deletions

View File

@@ -294,7 +294,7 @@ var File = Class("File", {
let file = services.File();
if (path instanceof Ci.nsIFile)
file = path.QueryInterface(Ci.nsIFile).clone();
file = path.clone();
else if (/file:\/\//.test(path))
file = services["file:"]().getFileFromURLSpec(path);
else {