diff --git a/src/MainWindow.h b/src/MainWindow.h index 9f9523f1..4f617756 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -115,7 +115,7 @@ class MainWindow : public KXmlGuiWindow * Emitted by the main window to request the creation of a new SSH session. * * @param profile The profile to use to create the new session. - * @param URL URL for the new session + * @param url URL for the new session * @param view The view manager owned by this main window */ void newSSHSessionRequest(Profile::Ptr profile, diff --git a/src/ViewContainer.cpp b/src/ViewContainer.cpp index 07ee9e99..40ab52b5 100644 --- a/src/ViewContainer.cpp +++ b/src/ViewContainer.cpp @@ -813,6 +813,7 @@ void StackedViewContainer::removeViewWidget( QWidget* view ) const int index = _stackWidget->indexOf(view); Q_ASSERT( index != -1); + Q_UNUSED(index); _stackWidget->removeWidget(view); }