mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-11 21:04:07 -07:00
[Fix-Warnings] Replace types with auto for game/ files
This commit is contained in:
parent
6d8c4772f6
commit
2987c7a8a1
3 changed files with 15 additions and 15 deletions
|
|
@ -34,7 +34,7 @@ void GameView::resizeEvent(QResizeEvent *event)
|
|||
{
|
||||
QGraphicsView::resizeEvent(event);
|
||||
|
||||
GameScene *s = dynamic_cast<GameScene *>(scene());
|
||||
auto *s = dynamic_cast<GameScene *>(scene());
|
||||
if (s)
|
||||
s->processViewSizeChange(event->size());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue