mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
fixed socket bug and simplified readClient()
This commit is contained in:
parent
b4fd5797f5
commit
03847a9b36
3 changed files with 7 additions and 19 deletions
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QTextCodec>
|
||||
#include "server.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
@ -27,6 +28,8 @@ int main(int argc, char *argv[])
|
|||
QCoreApplication app(argc, argv);
|
||||
app.setOrganizationName("Cockatrice");
|
||||
app.setApplicationName("Servatrice");
|
||||
|
||||
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
|
||||
|
||||
Server server;
|
||||
if (!server.openDatabase()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue