Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmp_vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhenfei.zhang
fmp_vip
Commits
8f065ad9
Commit
8f065ad9
authored
Feb 01, 2018
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 消除一些警告。
parent
81769bfc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
9 deletions
+5
-9
fmvip/db/item.h
+3
-1
fmvip/fmvip.pri
+0
-6
fmvip/task/tasklogin.cpp
+1
-1
version.h
+1
-1
No files found.
fmvip/db/item.h
View file @
8f065ad9
#ifndef ITEM_H
#
ifndef
ITEM_H
#define ITEM_H
#include <QtCore/QString>
...
...
@@ -12,6 +12,8 @@
#include <odb/core.hxx>
#include <odb/qt/lazy-ptr.hxx>
#pragma warning(disable:4068)
#define DB_VERSION_BASE 1
#define DB_VERSION_CURRENT 12
#pragma db model version(DB_VERSION_BASE, DB_VERSION_CURRENT)
...
...
fmvip/fmvip.pri
View file @
8f065ad9
...
...
@@ -11,8 +11,6 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
DEFINES += TEST
SOURCES += \
$$PWD/backup/fmbackup.cpp \
$$PWD/backup/resend.cpp \
...
...
@@ -40,7 +38,6 @@ SOURCES += \
$$PWD/fmp_vip_settings.cpp \
$$PWD/task/coupon.cpp \
$$PWD/windows/itemdelegate.cpp \
# $$PWD/database/dbop.cpp \
$$PWD/windows/fmviprefund.cpp \
$$PWD/task/taskrefund.cpp \
$$PWD/database/fmp_database.cpp \
...
...
@@ -79,7 +76,6 @@ HEADERS +=\
$$PWD/task/coupon.h \
$$PWD/windows/couponmodel.h \
$$PWD/windows/itemdelegate.h \
# $$PWD/database/dbop.h \
$$PWD/fmtool.h \
$$PWD/windows/fmviprefund.h \
$$PWD/task/taskrefund.h \
...
...
@@ -189,5 +185,3 @@ odbh.commands = @
odbh.CONFIG = no_link
odbh.depends = ${QMAKE_FILE_BASE}-odb.cxx
QMAKE_EXTRA_COMPILERS += odbh
fmvip/task/tasklogin.cpp
View file @
8f065ad9
...
...
@@ -91,7 +91,7 @@ void TaskLogin::onLogin()
}
bool
canPay
=
(
getServerJsonValue
(
PosProps
.
CanPay
).
toInt
()
==
1
);
#ifdef TEST
#ifdef
FM_
TEST
canPay
=
true
;
#endif
if
(
!
canPay
)
{
...
...
version.h
View file @
8f065ad9
...
...
@@ -5,7 +5,7 @@
#define VER_MINOR 1
#define VER_REVISION 0
#define VER_BUILD 4
3
#define VER_BUILD 4
6
//! Convert version numbers to string
#define _STR(S) #S
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment