Remove the AreaBasedEdge class

No difference to Edge.
This commit is contained in:
Martin Gräßlin 2016-04-15 13:08:03 +02:00
parent 8eab26c577
commit 80995fc205
2 changed files with 1 additions and 20 deletions

View file

@ -584,17 +584,6 @@ void WindowBasedEdge::doUpdateBlocking()
m_approachWindow.map(); m_approachWindow.map();
} }
} }
/**********************************************************
* AreaBasedEdge
*********************************************************/
AreaBasedEdge::AreaBasedEdge(ScreenEdges* parent)
: Edge(parent)
{
}
AreaBasedEdge::~AreaBasedEdge()
{
}
/********************************************************** /**********************************************************
* ScreenEdges * ScreenEdges
@ -952,7 +941,7 @@ Edge *ScreenEdges::createEdge(ElectricBorder border, int x, int y, int width, in
if (kwinApp()->operationMode() == Application::OperationModeX11) { if (kwinApp()->operationMode() == Application::OperationModeX11) {
edge = new WindowBasedEdge(this); edge = new WindowBasedEdge(this);
} else { } else {
edge = new AreaBasedEdge(this); edge = new Edge(this);
} }
edge->setBorder(border); edge->setBorder(border);
edge->setGeometry(QRect(x, y, width, height)); edge->setGeometry(QRect(x, y, width, height));

View file

@ -148,14 +148,6 @@ private:
Xcb::Window m_approachWindow; Xcb::Window m_approachWindow;
}; };
class AreaBasedEdge : public Edge
{
Q_OBJECT
public:
explicit AreaBasedEdge(ScreenEdges *parent);
virtual ~AreaBasedEdge();
};
/** /**
* @short Class for controlling screen edges. * @short Class for controlling screen edges.
* *