Commit 07394e91 authored by Nicolas Fella's avatar Nicolas Fella Committed by Nate Graham
Browse files

Remove code for QWS

It hasn't been a thing for an entire Qt major version
parent 7931c13e
Pipeline #208207 passed with stage
in 7 minutes and 45 seconds
......@@ -25,12 +25,6 @@
#include <fixx11h.h>
#endif
#if HAVE_X11
#define DISPLAY "DISPLAY"
#elif defined(Q_WS_QWS)
#define DISPLAY "QWS_DISPLAY"
#endif
#include "config-workspace.h"
#ifdef HAVE_UNISTD_H
......@@ -81,7 +75,7 @@ void propagateSessionManager()
{
#if HAVE_X11
QByteArray fName = QFile::encodeName(QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + "/KSMserver");
QString display = QString::fromLocal8Bit(::getenv(DISPLAY));
QString display = QString::fromLocal8Bit(::getenv("DISPLAY"));
// strip the screen number from the display
display.remove(QRegularExpression(QStringLiteral("\\.\\d+$")));
int i;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment