Skip to content

Commit

Permalink
restructured resource files directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeena committed Feb 28, 2015
1 parent b6c0d89 commit e14a639
Show file tree
Hide file tree
Showing 18 changed files with 29 additions and 23 deletions.
4 changes: 3 additions & 1 deletion FeedTheMonkey.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ SOURCES += \
src/tinytinyrsslogin.cpp

RESOURCES += \
resources/resources.qrc \
html/html.qrc \
misc/misc.qrc \
qml/qml.qrc \

mac {
RC_FILE = misc/Icon.icns
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions html/html.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<RCC>
<qresource prefix="/html">
<file>content.css</file>
<file>content.html</file>
<file>content.js</file>
</qresource>
</RCC>
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions misc/misc.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<RCC>
<qresource prefix="/misc">
<file>feedthemonkey.xpm</file>
<file>Icon.icns</file>
<file>feedthemonkey.desktop</file>
</qresource>
</RCC>
2 changes: 1 addition & 1 deletion resources/qml/Content.qml → qml/Content.qml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ScrollView {

WebView {
id: webView
url: "content.html"
url: "../html/content.html"

// Enable communication between QML and WebKit
experimental.preferences.navigatorQtObjectEnabled: true;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions qml/qml.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<RCC>
<qresource prefix="/qml">
<file>main.qml</file>
<file>TheMenuBar.qml</file>
<file>Content.qml</file>
<file>Login.qml</file>
<file>PostListItem.qml</file>
<file>Sidebar.qml</file>
</qresource>
</RCC>
20 changes: 0 additions & 20 deletions resources/resources.qrc

This file was deleted.

2 changes: 1 addition & 1 deletion src/tinytinyrss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void TinyTinyRSS::onPostReadChanged(bool r)
{
Post *post = (Post *)sender();

updateArticle(post->id(), 2, !r, [post] (const QJsonObject &json) {
updateArticle(post->id(), 2, !r, [post] (const QJsonObject &) {
// not doing anything with this yet.
});
}
Expand Down

0 comments on commit e14a639

Please sign in to comment.