mirror of
https://github.com/ONLYOFFICE/desktop-sdk.git
synced 2026-03-31 10:23:12 +08:00
Fix typo
This commit is contained in:
committed by
Oleg Korshul
parent
37210a1d80
commit
26f3cca952
@ -63,7 +63,7 @@ QWidget* getMainPanel(QWidget* widget, int& x, int& y)
|
||||
QWidget* cur = widget;
|
||||
while (cur->parentWidget() && cur->objectName() != "mainPanel")
|
||||
{
|
||||
if ("ascTabWidget" == objName)
|
||||
if (cur->objectName() == "ascTabWidget")
|
||||
{
|
||||
x += cur->x();
|
||||
y += cur->y();
|
||||
|
||||
Reference in New Issue
Block a user