tablet: use the right scope for the variable
This commit is contained in:
parent
df9978d6a1
commit
c8a37ef27f
1 changed files with 1 additions and 1 deletions
|
@ -1701,8 +1701,8 @@ public:
|
|||
defaultCursor.loadThemeCursor(CursorShape(Qt::CrossCursor), &ret);
|
||||
return ret;
|
||||
};
|
||||
static const auto defaultCursor = createDefaultCursor();
|
||||
if (!tcursor || tcursor->enteredSerial() == 0) {
|
||||
static const auto defaultCursor = createDefaultCursor();
|
||||
cursor->updateCursor(defaultCursor.image, defaultCursor.hotspot);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue