| Summary: | showfoto no filename specified | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Joe Biden <mailinglist> |
| Component: | Showfoto-Save | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 0.9.2 | |
| Sentry Crash Report: | |||
|
Description
Joe Biden
2007-05-31 06:14:04 UTC
SVN commit 670059 by cgilles:
digikam from trunk : showfoto : fix how to handle local file from command line.
BUG: 146184
M +10 -0 showfoto.cpp
--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #670058:670059
@@ -253,10 +253,20 @@
{
QFileInfo fi(url.path());
if (fi.isDir())
+ {
+ // Local Dir
openFolder(url);
+ }
+ else
+ {
+ // Local file
+ new Digikam::ThumbBarItem(d->thumbBar, url);
+ d->lastOpenedDirectory=(*it);
+ }
}
else
{
+ // Remote file.
new Digikam::ThumbBarItem(d->thumbBar, url);
d->lastOpenedDirectory=(*it);
}
|