added settings category and org
This commit is contained in:
parent
41e762445f
commit
15e305e658
2 changed files with 9 additions and 0 deletions
3
main.cpp
3
main.cpp
|
@ -12,6 +12,9 @@
|
|||
int main(int argc, char *argv[])
|
||||
{
|
||||
QGuiApplication app(argc, argv);
|
||||
app.setOrganizationName("Jabs Nu");
|
||||
app.setOrganizationDomain("jabs.nu");
|
||||
app.setApplicationName("FeedMonkey");
|
||||
|
||||
qmlRegisterType<TinyTinyRSSLogin>("TTRSS", 1, 0, "ServerLogin");
|
||||
qmlRegisterType<TinyTinyRSS>("TTRSS", 1, 0, "Server");
|
||||
|
|
6
main.qml
6
main.qml
|
@ -10,11 +10,17 @@ ApplicationWindow {
|
|||
title: "FeedMonkey"
|
||||
visible: true
|
||||
|
||||
width: 800
|
||||
height: 640
|
||||
x: 200
|
||||
y: 200
|
||||
|
||||
property Server server: server
|
||||
property Sidebar sidebar: sidebar
|
||||
property Content content: content
|
||||
|
||||
Settings {
|
||||
category: "window"
|
||||
property alias x: app.x
|
||||
property alias y: app.y
|
||||
property alias width: app.width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue