summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.cpp6
-rw-r--r--qtpass.pro16
2 files changed, 17 insertions, 5 deletions
diff --git a/main.cpp b/main.cpp
index c6ca0cd6..b604afb7 100644
--- a/main.cpp
+++ b/main.cpp
@@ -6,6 +6,11 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
+ QCoreApplication::setOrganizationName("IJHack");
+ QCoreApplication::setOrganizationDomain("ijhack.org");
+ QCoreApplication::setApplicationName("QtPass");
+ QCoreApplication::setApplicationVersion("0.0.1");
+
//Setup and load translator for localization
QTranslator translator;
QString locale = QLocale::system().name();
@@ -15,7 +20,6 @@ int main(int argc, char *argv[])
MainWindow w;
app.setWindowIcon(QIcon(":artwork/icon.png"));
-
w.checkConfig();
w.show();
diff --git a/qtpass.pro b/qtpass.pro
index 03e29230..3cb5aa5e 100644
--- a/qtpass.pro
+++ b/qtpass.pro
@@ -8,7 +8,12 @@ QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
-TARGET = qtpass
+macx {
+ TARGET = QtPass
+} else {
+ TARGET = qtpass
+}
+
TEMPLATE = app
SOURCES += main.cpp\
@@ -29,7 +34,10 @@ RESOURCES += resources.qrc
TRANSLATIONS += localization/localization_nl_NL.ts
-RC_FILE = windows.rc
+win32 {
+ RC_FILE = windows.rc
+} else:macx {
+ ICON = artwork/icon.icns
+}
-ICON += artwork/icon.svg \
- artwork/icon.icns
+OTHER_FILES += LICENSE