diff --git a/screenedge.cpp b/screenedge.cpp index 54c5b90b01..e7b37c0748 100644 --- a/screenedge.cpp +++ b/screenedge.cpp @@ -584,17 +584,6 @@ void WindowBasedEdge::doUpdateBlocking() m_approachWindow.map(); } } -/********************************************************** - * AreaBasedEdge - *********************************************************/ -AreaBasedEdge::AreaBasedEdge(ScreenEdges* parent) - : Edge(parent) -{ -} - -AreaBasedEdge::~AreaBasedEdge() -{ -} /********************************************************** * ScreenEdges @@ -952,7 +941,7 @@ Edge *ScreenEdges::createEdge(ElectricBorder border, int x, int y, int width, in if (kwinApp()->operationMode() == Application::OperationModeX11) { edge = new WindowBasedEdge(this); } else { - edge = new AreaBasedEdge(this); + edge = new Edge(this); } edge->setBorder(border); edge->setGeometry(QRect(x, y, width, height)); diff --git a/screenedge.h b/screenedge.h index 063ee9bdaa..4d837d168b 100644 --- a/screenedge.h +++ b/screenedge.h @@ -148,14 +148,6 @@ private: Xcb::Window m_approachWindow; }; -class AreaBasedEdge : public Edge -{ - Q_OBJECT -public: - explicit AreaBasedEdge(ScreenEdges *parent); - virtual ~AreaBasedEdge(); -}; - /** * @short Class for controlling screen edges. *