Skip to content
Permalink
Browse files

Fix deprecation warnings for server compilation

  • Loading branch information
pblottiere authored and nyalldawson committed Jan 29, 2020
1 parent d4f91e1 commit 810135cba09299cf5f6a5b04f0cd9d976c3be933
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/server/qgsserver.cpp
@@ -42,7 +42,7 @@
#include <QDomDocument>
#include <QNetworkDiskCache>
#include <QSettings>
#include <QDateTime>
#include <QElapsedTimer>

// TODO: remove, it's only needed by a single debug message
#include <fcgi_stdio.h>
@@ -301,7 +301,7 @@ void QgsServer::putenv( const QString &var, const QString &val )
void QgsServer::handleRequest( QgsServerRequest &request, QgsServerResponse &response, const QgsProject *project )
{
Qgis::MessageLevel logLevel = QgsServerLogger::instance()->logLevel();
QTime time; //used for measuring request time if loglevel < 1
QElapsedTimer time; //used for measuring request time if loglevel < 1

qApp->processEvents();

0 comments on commit 810135c

Please sign in to comment.
You can’t perform that action at this time.