diff --git a/src/Gui/CommandStd.cpp b/src/Gui/CommandStd.cpp index 2c6035b5771b..67089da50056 100644 --- a/src/Gui/CommandStd.cpp +++ b/src/Gui/CommandStd.cpp @@ -969,7 +969,7 @@ StdCmdReloadStyleSheet::StdCmdReloadStyleSheet() sWhatsThis = "Std_ReloadStyleSheet"; } -void StdCmdReloadStyleSheet::activated(int iMsg) +void StdCmdReloadStyleSheet::activated(int ) { auto mw = getMainWindow(); diff --git a/src/Gui/DlgActionsImp.cpp b/src/Gui/DlgActionsImp.cpp index ddddeb7d1562..9aef912ce443 100644 --- a/src/Gui/DlgActionsImp.cpp +++ b/src/Gui/DlgActionsImp.cpp @@ -409,7 +409,6 @@ IconDialog::IconDialog(QWidget* parent) QStringList names = BitmapFactory().findIconFiles(); for (const auto & name : names) { item = new QListWidgetItem(ui->listWidget); - //item->setIcon(QIcon(*it)); item->setIcon(QIcon(BitmapFactory().pixmap((const char*)name.toUtf8()))); item->setText(QFileInfo(name).baseName()); item->setToolTip(name); diff --git a/src/Gui/DownloadItem.cpp b/src/Gui/DownloadItem.cpp index a9a96ea35142..2d8f747752f1 100644 --- a/src/Gui/DownloadItem.cpp +++ b/src/Gui/DownloadItem.cpp @@ -529,9 +529,6 @@ void DownloadItem::downloadProgress(qint64 bytesReceived, qint64 bytesTotal) void DownloadItem::updateInfoLabel() { - //if (m_reply->error() == QNetworkReply::NoError) - // return; - qint64 bytesTotal = progressBar->maximum(); bool running = !downloadedSuccessfully(); diff --git a/src/Gui/Tree.cpp b/src/Gui/Tree.cpp index 9062db63f81b..1833a7552399 100644 --- a/src/Gui/Tree.cpp +++ b/src/Gui/Tree.cpp @@ -1643,7 +1643,6 @@ void TreeWidget::mouseDoubleClickEvent(QMouseEvent* event) try { if (item->type() == TreeWidget::DocumentType) { - //QTreeWidget::mouseDoubleClickEvent(event); Gui::Document* doc = static_cast(item)->document(); if (!doc) return; @@ -2691,19 +2690,6 @@ void TreeWidget::sortDroppedObjects(TargetItemInfo& targetInfo, std::vector