]> git.siccegge.de Git - frida/frida.git/blobdiff - src/gui/widgets/BasicBlockWidget.hxx
Fill BasicBlockWidgets with actual assembly instructions
[frida/frida.git] / src / gui / widgets / BasicBlockWidget.hxx
index effb5880665a9c4eeaed5baa2105ed7c4a7e9c39..ec443f36806a61481448acecaeb36c3bc8fb3064 100644 (file)
@@ -7,13 +7,13 @@ public:
                : x(-5), y(-20)
                , dx(250), dy(270)
                , name(name) {
-        _widget.addItem("THIS");
-        _widget.addItem("IS");
-        _widget.addItem("A");
-        _widget.addItem("TEST");
                _widget.resize(dx-20, dy-20);
     }
 
+       void addItem(const QString& line) {
+               _widget.addItem(line);
+       }
+
     QRectF boundingRect() const
     {
         qreal penWidth = 1;