Fixed MSVS 2012 build
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user