Tweaked player layout, increased Landscape album art size.
[vlc-remote] / src / playermainwindow.cpp
index f5b5d55..8e16fcc 100644 (file)
     QPixmap* image = new QPixmap();
     if (image->loadFromData(data)) {
         mHasImage = true;
-        ui->labelArtLandscape->setPixmap(image->scaledToHeight(120, Qt::SmoothTransformation));
+        ui->labelArtLandscape->setPixmap(image->scaledToHeight(160, Qt::SmoothTransformation));
         ui->labelArtPortrait->setPixmap(image->scaledToHeight(310, Qt::SmoothTransformation));
         if (mIsLandscape) {
             ui->labelArtPortrait->setVisible(false);
   }
   void PlayerMainWindow::setCoverArtFromPixmap(QPixmap image) {
     mHasImage = true;
-    ui->labelArtLandscape->setPixmap(image.scaledToHeight(120, Qt::SmoothTransformation));
-    ui->labelArtPortrait->setPixmap(image.scaledToHeight(320, Qt::SmoothTransformation));
+    ui->labelArtLandscape->setPixmap(image.scaledToHeight(160, Qt::SmoothTransformation));
+    ui->labelArtPortrait->setPixmap(image.scaledToHeight(310, Qt::SmoothTransformation));
     if (mIsLandscape) {
         ui->labelArtPortrait->setVisible(false);
         ui->labelArtLandscape->setVisible(true);