cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [07/27] cordova-ubuntu git commit: fix critical issue introduced by general URL support changes earlier
Date Fri, 20 Nov 2015 00:18:43 GMT
fix critical issue introduced by general URL support changes earlier


Project: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/commit/86e994af
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/tree/86e994af
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/diff/86e994af

Branch: refs/heads/master
Commit: 86e994affa1d7406295952bfac2d2af634485d2c
Parents: 75819c8
Author: David Barth <david.barth@canonical.com>
Authored: Thu Nov 12 16:07:06 2015 +0100
Committer: David Barth <david.barth@canonical.com>
Committed: Fri Nov 13 10:20:06 2015 +0100

----------------------------------------------------------------------
 src/cordova.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/86e994af/src/cordova.cpp
----------------------------------------------------------------------
diff --git a/src/cordova.cpp b/src/cordova.cpp
index 172f87f..bc170af 100644
--- a/src/cordova.cpp
+++ b/src/cordova.cpp
@@ -34,10 +34,11 @@ Cordova::Cordova(const QDir &wwwDir, QQuickItem *item, QObject *parent)
         _mainUrl = QString(_config.content());
     } else if (!_www.exists(_config.content())) {
         qCritical() << _config.content() << "does not exist";
-        _mainUrl = QUrl::fromUserInput(_www.absoluteFilePath(_config.content()))
-	  .toString();
     }
 
+    _mainUrl = QUrl::fromUserInput(_www.absoluteFilePath(_config.content()))
+      .toString();
+
     qDebug() << "Main URL: " << _mainUrl;
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message