Commit a0f0c7df authored by Jeremy Whiting's avatar Jeremy Whiting

Add explicit keyword to constructor with one argument.

Remove duplicate include.
parent 49bbab7c
......@@ -101,7 +101,7 @@ class KMagSelRect : public QObject, public QRect
Q_OBJECT
public:
KMagSelRect(QWidget *parent=0);
explicit KMagSelRect(QWidget *parent=0);
KMagSelRect(const QPoint &topLeft, const QPoint &bottomRight,
QWidget *parent=0);
KMagSelRect(const QPoint &topLeft, const QSize &size,
......
......@@ -42,7 +42,6 @@
#include <QtGui/QResizeEvent>
#include <QtGui/QMouseEvent>
#include <QtGui/QDesktopWidget>
#include <QtGui/QCursor>
#include <QtDBus/QDBusConnection>
// include files for KDE
......
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