mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-28 18:32:38 +00:00
removed conditional requirement for delete in LogWindow.cpp destructor
This commit is contained in:
parent
5559000db5
commit
e691c13cf8
@ -59,9 +59,7 @@ LogWindow::LogWindow(IWindow *parent)
|
||||
}
|
||||
|
||||
LogWindow::~LogWindow() {
|
||||
if (this->adapter != nullptr) {
|
||||
delete this->adapter;
|
||||
}
|
||||
delete this->adapter;
|
||||
}
|
||||
|
||||
IScrollAdapter& LogWindow::GetScrollAdapter() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user