Fixed MSVS 2012 build

This commit is contained in:
2017-05-31 22:14:31 +02:00
parent 27ec7282eb
commit b916d626d1
13 changed files with 54 additions and 11 deletions
+3
View File
@@ -78,6 +78,9 @@ INCLUDEPATH += $$PWD/../addressbook
INCLUDEPATH += $$PWD/../addressbook/data
DEPENDPATH += $$PWD/../addressbook
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../plugins/ -lcountryregister
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../plugins/ -lcountryregister
INCLUDEPATH += $$PWD/../countryregister/data
INCLUDEPATH += $$PWD/../countryregister
+4
View File
@@ -6,6 +6,10 @@
#include "campseller.h"
#include <math.h>
#ifdef _WIN32
double round(double value) { return value < 0 ? -std::floor(0.5 - value) : std::floor(0.5 + value); }
#endif
CampService::CampService()
{
m_pluginId = "CAMP";
+2 -1
View File
@@ -7,7 +7,8 @@ CampData::CampData(QObject *parent) : QObject(parent)
m_totalPrice = 0;
m_sale = 0;
m_totalSale = 0;
m_ownerFirstame = false;
m_fixedSale = false;
m_fullPrice = 0;
}
int CampData::id() const