Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
9d0133ba
Commit
9d0133ba
authored
May 28, 2012
by
Max-Wilhelm Bruker
Browse files
fix for older Qt versions
parent
520300dc
Changes
2
Show whitespace changes
Inline
Side-by-side
servatrice/src/servatrice.cpp
View file @
9d0133ba
...
@@ -110,6 +110,7 @@ void Servatrice_IslServer::incomingConnection(int socketDescriptor)
...
@@ -110,6 +110,7 @@ void Servatrice_IslServer::incomingConnection(int socketDescriptor)
Servatrice
::
Servatrice
(
QSettings
*
_settings
,
QObject
*
parent
)
Servatrice
::
Servatrice
(
QSettings
*
_settings
,
QObject
*
parent
)
:
Server
(
parent
),
settings
(
_settings
),
uptime
(
0
),
shutdownTimer
(
0
)
:
Server
(
parent
),
settings
(
_settings
),
uptime
(
0
),
shutdownTimer
(
0
)
{
{
qRegisterMetaType
<
QSqlDatabase
>
(
"QSqlDatabase"
);
}
}
Servatrice
::~
Servatrice
()
Servatrice
::~
Servatrice
()
...
...
servatrice/src/servatrice.h
View file @
9d0133ba
...
@@ -26,9 +26,11 @@
...
@@ -26,9 +26,11 @@
#include
<QSslKey>
#include
<QSslKey>
#include
<QHostAddress>
#include
<QHostAddress>
#include
<QReadWriteLock>
#include
<QReadWriteLock>
#include
<QSqlDatabase>
#include
"server.h"
#include
"server.h"
class
QSqlDatabase
;
Q_DECLARE_METATYPE
(
QSqlDatabase
)
class
QSettings
;
class
QSettings
;
class
QSqlQuery
;
class
QSqlQuery
;
class
QTimer
;
class
QTimer
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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