[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/digikam/kioslave
From: Andi Clemens <andi.clemens () gmx ! net>
Date: 2010-11-13 14:04:38
Message-ID: 20101113140438.A39B4AC8A0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1196457 by aclemens:
The scope of the variable can be reduced
M +2 -2 digikamalbums.cpp
--- trunk/extragear/graphics/digikam/kioslave/digikamalbums.cpp #1196456:1196457
@@ -250,7 +250,7 @@
QFileInfo info(dbUrlSrc.fileUrl().toLocalFile());
bool renamingAlbum = info.isDir();
- int srcAlbumID, dstAlbumID = -1;
+ int srcAlbumID = -1;
if (renamingAlbum)
{
@@ -270,7 +270,7 @@
return;
}
- dstAlbumID = access.db()->getAlbumForPath(dbUrlDst.albumRootId(), \
dbUrlDst.album(), false); + int dstAlbumID = \
access.db()->getAlbumForPath(dbUrlDst.albumRootId(), dbUrlDst.album(), false); if \
(dstAlbumID == -1) {
error(KIO::ERR_UNKNOWN, i18n("Destination album %1 not found in \
database.", dst.directory()));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic