diff --git a/krfb/framebuffer.cpp b/krfb/framebuffer.cpp index 507364c..418ab76 100644 --- a/krfb/framebuffer.cpp +++ b/krfb/framebuffer.cpp @@ -1,74 +1,75 @@ /* This file is part of the KDE project Copyright (C) 2007 Alessandro Praduroux This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. */ #include "framebuffer.h" #include #include FrameBuffer::FrameBuffer(WId id, QObject *parent) : QObject(parent), win(id) { } FrameBuffer::~FrameBuffer() { delete fb; } char *FrameBuffer::data() { return fb; } QList< QRect > FrameBuffer::modifiedTiles() { QList ret = tiles; tiles.clear(); return ret; } int FrameBuffer::width() { return 0; } int FrameBuffer::height() { return 0; } void FrameBuffer::getServerFormat(rfbPixelFormat &) { } QVariant FrameBuffer::customProperty(const QString &property) const { + Q_UNUSED(property) return QVariant(); } int FrameBuffer::depth() { return 32; } int FrameBuffer::paddedWidth() { return width() * depth() / 8; } void FrameBuffer::startMonitor() { } void FrameBuffer::stopMonitor() { }