From kde-commits Tue May 27 06:04:52 2008 From: Will Stephenson Date: Tue, 27 May 2008 06:04:52 +0000 To: kde-commits Subject: extragear/plasma/applets/frame Message-Id: <1211868292.990420.2325.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121188059214976 SVN commit 813188 by wstephens: Fix English M +4 -4 picture.cpp --- trunk/extragear/plasma/applets/frame/picture.cpp #813187:813188 @@ -68,13 +68,13 @@ { QImage m_picture; if (currentUrl.path() == "Default") { - m_picture = defaultPicture(i18nc("Info", "Put your photo here or drop a folder for starting a slideshow")); - return m_picture; + m_picture = defaultPicture(i18nc("Info", "Put your photo here or drop a folder to start a slideshow")); + return m_picture; } else { QImage tempImage(currentUrl.path()); if (tempImage.isNull()){ m_picture = defaultPicture(i18nc("Error", "Error loading image")); - return m_picture; + return m_picture; } else { // Load success! Scale the image if it is too big if (tempImage.width() > m_maxDimension || tempImage.height() > m_maxDimension) { m_picture = tempImage.scaled(m_maxDimension,m_maxDimension, @@ -82,7 +82,7 @@ } else { m_picture = tempImage; } - return m_picture; + return m_picture; } } }