Commit 55936ec7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix delete element

parent 81fb6291
......@@ -47,7 +47,8 @@ class LogManagerPrivate
};
LogManager::LogManager(View *view)
: d(new LogManagerPrivate())
: QObject(view),
d(new LogManagerPrivate())
{
d->mLastUpdate = QTime::currentTime();
......
......@@ -38,9 +38,7 @@ TabLogManager::TabLogManager(LogManager *logManager)
TabLogManager::~TabLogManager()
{
delete mLogManager->usedView();
delete mLogManager;
//delete mLogManager->usedView();
}
LogManager *TabLogManager::logManager() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment