[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/plasma/applets/frame
From: Will Stephenson <wstephenson () kde ! org>
Date: 2008-05-27 6:04:52
Message-ID: 1211868292.990420.2325.nullmailer () svn ! kde ! org
[Download RAW message or body]
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;
}
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic