Commit af6efd31 authored by Fabian Kosmale's avatar Fabian Kosmale

fix a few clazy warnings

parent 4346dc05
......@@ -67,7 +67,7 @@ void SettingsDialog::accept()
}
}
emit done(QDialog::Accepted);
done(QDialog::Accepted);
}
void SettingsDialog::onPageChanged(KPageWidgetItem *current, KPageWidgetItem *before)
......
......@@ -20,6 +20,7 @@
#ifndef IMAGEGRABBER_H
#define IMAGEGRABBER_H
#include <QObject>
#include <QList>
#include <QPixmap>
#include <QScreen>
......@@ -31,7 +32,6 @@
class ImageGrabber : public QObject
{
Q_OBJECT
Q_ENUMS(GrabMode)
Q_PROPERTY(QPixmap pixmap READ pixmap NOTIFY pixmapChanged)
Q_PROPERTY(bool capturePointer READ capturePointer WRITE setCapturePointer NOTIFY capturePointerChanged)
......@@ -50,6 +50,8 @@ class ImageGrabber : public QObject
RectangularRegion = 5
};
Q_ENUM(GrabMode);
explicit ImageGrabber(QObject *parent = 0);
~ImageGrabber();
......
Markdown is supported
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