diff --git a/snapshot.cpp b/snapshot.cpp --- a/snapshot.cpp +++ b/snapshot.cpp @@ -43,7 +43,6 @@ void SnapShot::show() { if (view == NULL) { - qDebug() << "view == NULL"; view = new SnapShotView(mainWindow, this); connect(view, &SnapShotView::closed, this, &SnapShot::viewClosed); } @@ -52,18 +51,12 @@ void SnapShot::show() view->raise(); } -void SnapShot::hide() -{ - -} - void SnapShot::viewClosed() { delete view; view = NULL; } - void SnapShot::onDeleteTriggered() { emit deleteRequested(this);