mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
Changed parameter name to something more meaningful
This commit is contained in:
parent
f88621fd97
commit
dd88476796
3 changed files with 4 additions and 4 deletions
|
|
@ -432,9 +432,9 @@ void MainWindow::changeEvent(QEvent *event)
|
|||
QMainWindow::changeEvent(event);
|
||||
}
|
||||
|
||||
void MainWindow::pixmapCacheSizeChanged(int value)
|
||||
void MainWindow::pixmapCacheSizeChanged(int newSizeInMBs)
|
||||
{
|
||||
//qDebug() << "Setting pixmap cache size to " << value << " MBs";
|
||||
// translate MBs to KBs
|
||||
QPixmapCache::setCacheLimit(value * 1024);
|
||||
QPixmapCache::setCacheLimit(newSizeInMBs * 1024);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue