1
0
mirror of https://github.com/KDE/krfb synced 2026-07-01 07:41:17 -07:00

Modernize code

This commit is contained in:
Laurent Montel
2021-07-09 08:53:04 +02:00
parent 45548e020a
commit c729e9e048
4 changed files with 11 additions and 11 deletions

View File

@@ -24,11 +24,11 @@ class PWFrameBuffer: public FrameBuffer
{
Q_OBJECT
public:
typedef struct {
using Stream = struct {
uint nodeId;
QVariantMap map;
} Stream;
typedef QList<Stream> Streams;
};
using Streams = QList<Stream>;
PWFrameBuffer(WId winid, QObject *parent = nullptr);
virtual ~PWFrameBuffer() override;