--warning: Remove unused local variable
This commit is contained in:
parent
e293972eaa
commit
fd1dd4f915
1 changed files with 0 additions and 1 deletions
|
@ -2495,7 +2495,6 @@ QPoint Workspace::adjustClientPosition(AbstractClient *c, QPoint pos, bool unres
|
||||||
const int snapX = borderSnapZone.width() * snapAdjust; // snap trigger
|
const int snapX = borderSnapZone.width() * snapAdjust; // snap trigger
|
||||||
const int snapY = borderSnapZone.height() * snapAdjust;
|
const int snapY = borderSnapZone.height() * snapAdjust;
|
||||||
if (snapX || snapY) {
|
if (snapX || snapY) {
|
||||||
QRect geo = c->frameGeometry();
|
|
||||||
if ((sOWO ? (cx < xmin) : true) && (qAbs(xmin - cx) < snapX)) {
|
if ((sOWO ? (cx < xmin) : true) && (qAbs(xmin - cx) < snapX)) {
|
||||||
deltaX = xmin - cx;
|
deltaX = xmin - cx;
|
||||||
nx = xmin;
|
nx = xmin;
|
||||||
|
|
Loading…
Reference in a new issue