Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2209

调用QTableWidgetItem.setTextAlignment设置字体居中,导致内存泄漏

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.4.0
    • PySide
    • None
    • Python 3.10
      windows 11
    • Windows

      我在主界面循环中,调用QTableWidgetItem的setTextAlignment方法设置字体居中。发现程序运行内存不断增加,导致了明显的内存泄漏。

      注释掉setTextAlignment方法后,程序内存运行平稳正常。

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            wwei W WEI
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes