https://bugs.kde.org/show_bug.cgi?id=421081

            Bug ID: 421081
           Summary: Toolbar is used before checking against nullptr in
                    KisMainWindow.cpp
           Product: krita
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: mikrutra...@protonmail.com
  Target Milestone: ---

```

        KToolBar * toolBar = ::qobject_cast<KToolBar *>(it);
       
toolBar->setMovable(KisConfig(true).readEntry<bool>("LockAllDockerPanels",
false));

        if (toolBar) {

```
https://invent.kde.org/kde/krita/-/blob/master/libs/ui/KisMainWindow.cpp#L514-517

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to