aboutsummaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-06-14 17:39:26 +0200
committerJavier <dev.git@javispedro.com>2015-06-14 17:39:26 +0200
commit247b7d55be4c9caea3cbc05f6f543280f207d895 (patch)
tree7fd437e728726117cb8914dd1658adffaabcf3ac /main.cc
parente3c4aa5dffecc8f62958c44035b2e58de0228eb4 (diff)
downloadscribiu-247b7d55be4c9caea3cbc05f6f543280f207d895.tar.gz
scribiu-247b7d55be4c9caea3cbc05f6f543280f207d895.zip
allow changing data path, improve icon
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/main.cc b/main.cc
index a080bdd..055aa7b 100644
--- a/main.cc
+++ b/main.cc
@@ -3,9 +3,14 @@
int main(int argc, char *argv[])
{
- QApplication a(argc, argv);
+ QApplication app(argc, argv);
+ app.setOrganizationName("scribiu");
+ app.setOrganizationDomain("com.javispedro.scribiu");
+ app.setApplicationName("scribiu");
+ app.setApplicationVersion("1.0");
+
MainWindow w;
w.show();
- return a.exec();
+ return app.exec();
}