Skip to content

Commit

Permalink
Remove unused variable and unrecognized compiler flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Oct 21, 2024
1 parent 0c8e09d commit fd0ab2e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ if (PEDANTIC)
-Wno-padded
-Wno-switch-enum
)

# Disable Q_OBJECT macro warnings.
list(APPEND copyq_pedantic_flags
-Wno-unused-member-function
)
endif()

if(WITH_TESTS)
Expand Down
1 change: 0 additions & 1 deletion src/gui/traymenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ void TrayMenu::setNumberSearchEnabled(bool enabled)
void TrayMenu::keyPressEvent(QKeyEvent *event)
{
const int key = event->key();
Qt::KeyboardModifiers mods = event->modifiers();
m_omitPaste = false;

bool not_searching = m_searchText.isEmpty();
Expand Down

0 comments on commit fd0ab2e

Please sign in to comment.