mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Remove not needed parameter mainWindow
from windows heap widget
This commit is contained in:
parent
e118f91cdd
commit
5ac4effabe
@ -45,7 +45,7 @@ void HeapDockWidget::onAllocatorSelected(int index)
|
|||||||
if (index == Glibc) {
|
if (index == Glibc) {
|
||||||
currentHeapWidget = new GlibcHeapWidget(main, this);
|
currentHeapWidget = new GlibcHeapWidget(main, this);
|
||||||
} else if (index == Windows) {
|
} else if (index == Windows) {
|
||||||
currentHeapWidget = new WindowsHeapWidget(main, this);
|
currentHeapWidget = new WindowsHeapWidget(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->verticalLayout->addWidget(currentHeapWidget);
|
ui->verticalLayout->addWidget(currentHeapWidget);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "WindowsHeapWidget.h"
|
#include "WindowsHeapWidget.h"
|
||||||
#include "ui_WindowsHeapWidget.h"
|
#include "ui_WindowsHeapWidget.h"
|
||||||
|
|
||||||
WindowsHeapWidget::WindowsHeapWidget(MainWindow *main, QWidget *parent)
|
WindowsHeapWidget::WindowsHeapWidget(QWidget *parent)
|
||||||
: QWidget(parent), ui(new Ui::WindowsHeapWidget)
|
: QWidget(parent), ui(new Ui::WindowsHeapWidget)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
@ -39,7 +39,7 @@ class WindowsHeapWidget : public QWidget
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit WindowsHeapWidget(MainWindow *main, QWidget *parent);
|
explicit WindowsHeapWidget(QWidget *parent);
|
||||||
~WindowsHeapWidget();
|
~WindowsHeapWidget();
|
||||||
private slots:
|
private slots:
|
||||||
void updateContents();
|
void updateContents();
|
||||||
|
Loading…
Reference in New Issue
Block a user