forked from qt-creator/qt-creator
Fix some warnings about unused parameters
Change-Id: I4cd941beec8a8b2d35a5b1fce48dd12facae7154 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -698,6 +698,8 @@ FileApiQtcData generateFallbackData(const FilePath &topCmakeFile,
|
||||
const FilePath &buildDirectory,
|
||||
QString errorMessage)
|
||||
{
|
||||
Q_UNUSED(buildDirectory)
|
||||
|
||||
FileApiQtcData result;
|
||||
|
||||
result.rootProjectNode.reset(new CMakeProjectNode{sourceDirectory});
|
||||
|
@@ -135,7 +135,7 @@ EditorView::EditorView(SplitterOrView *parentSplitterOrView, QWidget *parent) :
|
||||
m_container->addWidget(empty);
|
||||
m_widgetEditorMap.insert(empty, nullptr);
|
||||
|
||||
auto dropSupport = new DropSupport(this, [this](QDropEvent *event, DropSupport *dropSupport) -> bool {
|
||||
const auto dropSupport = new DropSupport(this, [this](QDropEvent *event, DropSupport *) {
|
||||
// do not accept move events except from other editor views (i.e. their tool bars)
|
||||
// otherwise e.g. item views that support moving items within themselves would
|
||||
// also "move" the item into the editor view, i.e. the item would be removed from the
|
||||
|
Reference in New Issue
Block a user