Mercurial > trustbridge
comparison ui/mainwindow.cpp @ 664:911b94a475e0
Fix SW_Resource defines for linux
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 25 Jun 2014 16:07:08 +0200 |
parents | b00c26fbc695 |
children | 7147550ee15d |
comparison
equal
deleted
inserted
replaced
663:b00c26fbc695 | 664:911b94a475e0 |
---|---|
52 | 52 |
53 #define SERVER_URL "https://files.intevation.de:443" | 53 #define SERVER_URL "https://files.intevation.de:443" |
54 | 54 |
55 #ifdef RELEASE_BUILD | 55 #ifdef RELEASE_BUILD |
56 # define LIST_RESOURCE "/users/aheinecke/zertifikatsliste.txt" | 56 # define LIST_RESOURCE "/users/aheinecke/zertifikatsliste.txt" |
57 # define SW_RESOURCE "/users/aheinecke/TrustBridge.exe" | |
58 # ifdef Q_OS_WIN | 57 # ifdef Q_OS_WIN |
59 # define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.exe" | 58 # define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.exe" |
59 # define SW_RESOURCE "/users/aheinecke/TrustBridge.exe" | |
60 # else | 60 # else |
61 # define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.sh" | 61 # define SW_RESOURCE_VERSION "/users/aheinecke/TrustBridge-%1.sh" |
62 # define SW_RESOURCE "/users/aheinecke/TrustBridge.sh" | |
62 # endif | 63 # endif |
63 #else // RELEASE_BUILD | 64 #else // RELEASE_BUILD |
64 # define LIST_RESOURCE "/users/aheinecke/development/zertifikatsliste.txt" | 65 # define LIST_RESOURCE "/users/aheinecke/development/zertifikatsliste.txt" |
65 # define SW_RESOURCE "/users/aheinecke/development/TrustBridge.exe" | |
66 # ifdef Q_OS_WIN | 66 # ifdef Q_OS_WIN |
67 # define SW_RESOURCE_VERSION "/users/aheinecke/development/TrustBridge-development.exe" | 67 # define SW_RESOURCE_VERSION "/users/aheinecke/development/TrustBridge-development.exe" |
68 # define SW_RESOURCE "/users/aheinecke/development/TrustBridge.exe" | |
68 # else | 69 # else |
69 # define SW_RESOURCE_VERSION "/users/aheinecke/development/TrustBridge-development.sh" | 70 # define SW_RESOURCE_VERSION "/users/aheinecke/development/TrustBridge-development.sh" |
71 # define SW_RESOURCE "/users/aheinecke/development/TrustBridge.sh" | |
70 # endif | 72 # endif |
71 #endif | 73 #endif |
72 | 74 |
73 MainWindow::MainWindow(bool trayMode): | 75 MainWindow::MainWindow(bool trayMode): |
74 mTrayMode(trayMode) | 76 mTrayMode(trayMode) |