Move implementation of updateMoveResize to AbstractClient
No longer virtual.
This commit is contained in:
parent
f4b02d5a8c
commit
f5848d9405
4 changed files with 2 additions and 9 deletions
|
@ -612,7 +612,7 @@ QSize AbstractClient::minSize() const
|
|||
|
||||
void AbstractClient::updateMoveResize(const QPointF ¤tGlobalCursor)
|
||||
{
|
||||
Q_UNUSED(currentGlobalCursor)
|
||||
handleMoveResize(pos(), currentGlobalCursor.toPoint());
|
||||
}
|
||||
|
||||
bool AbstractClient::hasStrut() const
|
||||
|
|
|
@ -363,7 +363,7 @@ public:
|
|||
virtual void shrinkHorizontal();
|
||||
virtual void growVertical();
|
||||
virtual void shrinkVertical();
|
||||
virtual void updateMoveResize(const QPointF ¤tGlobalCursor);
|
||||
void updateMoveResize(const QPointF ¤tGlobalCursor);
|
||||
|
||||
/**
|
||||
* These values represent positions inside an area
|
||||
|
|
2
client.h
2
client.h
|
@ -413,8 +413,6 @@ public:
|
|||
**/
|
||||
void showOnScreenEdge();
|
||||
|
||||
void updateMoveResize(const QPointF ¤tGlobalCursor) override;
|
||||
|
||||
public Q_SLOTS:
|
||||
void closeWindow() override;
|
||||
void updateCaption();
|
||||
|
|
|
@ -2818,11 +2818,6 @@ void AbstractClient::stopDelayedMoveResize()
|
|||
m_moveResize.delayedTimer = nullptr;
|
||||
}
|
||||
|
||||
void Client::updateMoveResize(const QPointF ¤tGlobalCursor)
|
||||
{
|
||||
handleMoveResize(pos(), currentGlobalCursor.toPoint());
|
||||
}
|
||||
|
||||
void AbstractClient::handleMoveResize(const QPoint &local, const QPoint &global)
|
||||
{
|
||||
const QRect oldGeo = geometry();
|
||||
|
|
Loading…
Reference in a new issue