QClipboard: remove a useless default switch-case label

The switch condition expression has already dealt width all the
conditions, so a `default` label is not necessary (it introduces a
warning). Delete it.

Fixes: QTBUG-95223
Change-Id: Iac3d9bb5d0b6fd8372d4dc16d920ce0a7b0511db
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
bb10
WenTao Song 2021-07-16 14:36:45 +08:00 committed by Giuseppe D'Angelo
parent 49df693145
commit f6700870bd
1 changed files with 1 additions and 2 deletions

View File

@ -582,9 +582,8 @@ void QClipboard::emitChanged(Mode mode)
case FindBuffer:
emit findBufferChanged();
break;
default:
break;
}
emit changed(mode);
}