mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Support Map plugin for Qt 6.5. Some Qt 6.6 fixes.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <QResource>
|
||||
#include <QFile>
|
||||
#include <QRegularExpression>
|
||||
#include <QDebug>
|
||||
|
||||
#include "webserver.h"
|
||||
@@ -126,7 +127,7 @@ void WebServer::readClient()
|
||||
QString line = socket->readLine();
|
||||
//qDebug() << "WebServer HTTP Request: " << line;
|
||||
|
||||
QStringList tokens = QString(line).split(QRegExp("[ \r\n][ \r\n]*"));
|
||||
QStringList tokens = QString(line).split(QRegularExpression("[ \r\n][ \r\n]*"));
|
||||
if (tokens[0] == "GET")
|
||||
{
|
||||
// Get file type from extension
|
||||
|
||||
Reference in New Issue
Block a user