diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index b327d10..d43ec07 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -796,6 +796,7 @@ void MainWindow::closeEvent(QCloseEvent *event) // Should not be any active connections foreach(LinkInterface* link, LinkManager::instance()->getLinks()) { + Q_UNUSED(link); Q_ASSERT(!link->isConnected()); }