display number of threads in use for LAMMPS instance in status bar

This commit is contained in:
Axel Kohlmeyer
2023-07-31 07:59:10 -04:00
parent 2f159df3b7
commit d41bf628c7
3 changed files with 9 additions and 6 deletions

View File

@ -161,7 +161,7 @@ void ImageViewer::updateActions()
void ImageViewer::scaleImage(double factor)
{
scaleFactor *= factor;
#if QT_VERSION < QT_VERSION_CHECK(5,15,0)
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
imageLabel->resize(scaleFactor * imageLabel->pixmap()->size());
#else
imageLabel->resize(scaleFactor * imageLabel->pixmap(Qt::ReturnByValue).size());