[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/digikam/digikam
From: Marcel Wiesweg <marcel.wiesweg () gmx ! de>
Date: 2010-06-12 14:12:47
Message-ID: 20100612141247.C7C32AC8D2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1137359 by mwiesweg:
Fix reading db file from command line
CCBUG: 235928
M +3 -3 main.cpp
--- trunk/extragear/graphics/digikam/digikam/main.cpp #1137358:1137359
@@ -120,14 +120,14 @@
QString commandLineDBPath;
if (args && args->isSet("database-directory"))
{
- QFileInfo commandLineDBDir(commandLineDBPath);
+ QFileInfo commandLineDBDir(args->getOption("database-directory"));
if (!commandLineDBDir.exists() || !commandLineDBDir.isDir())
{
- kError() << "The given database-directory does not exist or is not \
readable. Ignoring."; + kError() << "The given database-directory does not \
exist or is not readable. Ignoring." << commandLineDBDir.path(); }
else
{
- commandLineDBPath = args->getOption("database-directory");
+ commandLineDBPath = commandLineDBDir.path();
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic