projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0432f5c
)
Partial implementation of QmlFileEngine::fileName()
author
Mohammed Sameer
<msameer@foolab.org>
Fri, 26 Jul 2013 00:01:31 +0000
(
03:01
+0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Fri, 26 Jul 2013 00:01:31 +0000
(
03:01
+0300)
Nemo Qt won't load qml files other than main.qml without that
src/qmlfileengine.cpp
patch
|
blob
|
history
diff --git
a/src/qmlfileengine.cpp
b/src/qmlfileengine.cpp
index
e9262b7
..
1656f42
100644
(file)
--- a/
src/qmlfileengine.cpp
+++ b/
src/qmlfileengine.cpp
@@
-200,7
+200,12
@@
bool QmlFileEngine::setPermissions(uint perms) {
}
QString QmlFileEngine::fileName(QAbstractFileEngine::FileName file) const {
- Q_UNUSED(file);
+ switch (file) {
+ case QAbstractFileEngine::AbsoluteName:
+ return m_res->fileName();
+ default:
+ break;
+ }
// TODO:
return QString();