[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/plasma/applets/frame
From: Anne-Marie Mahfouf <annma () kde ! org>
Date: 2008-01-29 11:21:46
Message-ID: 1201605706.410224.30663.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 768098 by annma:
const is better
M +1 -1 picture.cpp
M +1 -1 picture.h
--- trunk/extragear/plasma/applets/frame/picture.cpp #768097:768098
@@ -52,7 +52,7 @@
return imload;
}
-QImage Picture::setPicture(KUrl currentUrl)
+QImage Picture::setPicture(const KUrl ¤tUrl)
{
if (currentUrl.url().isEmpty()) {
return defaultPicture("Put your photo here\nor drop a folder\nfor starting a slideshow");
--- trunk/extragear/plasma/applets/frame/picture.h #768097:768098
@@ -46,7 +46,7 @@
/**
* Set picture from location @p currentUrl
**/
- QImage setPicture( KUrl currentUrl);
+ QImage setPicture( const KUrl ¤tUrl);
/**
* Find all the pictures in each of the dirs that are listed in @p slideShowPaths
**/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic