[Digikam-devel] [Bug 147626] 0.9.2 fails to build
Markus Kanet
darkvision at gmx.info
Sat Jul 7 04:14:26 BST 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=147626
------- Additional Comments From darkvision gmx info 2007-07-07 05:14 -------
Hi...
I just tested digikam with the above replacment and at least the hotpixel plugin seem to work fine. This is what i have done:
In file imageeffect_hotpixels.cpp i replaced this in digikam-0.9.2:
void ImageEffect_HotPixels::slotAddBlackFrame()
{
//Does one need to do this if digikam did so already?
KImageIO::registerFormats();
KFileDialog fileSelectDialog(QString(), KImageIO::pattern(), this, "", true);
fileSelectDialog.setCaption(i18n("Select Black Frame Image"));
fileSelectDialog.setURL(m_blackFrameURL.path());
if (fileSelectDialog.exec() != QDialog::Rejected)
{
//Load the selected file and insert into the list
m_blackFrameURL = fileSelectDialog.selectedURL();
m_blackFrameListView->clear();
new BlackFrameListViewItem(m_blackFrameListView, m_blackFrameURL);
}
}
with this from digikamimageplugins-0.9.1:
void ImageEffect_HotPixels::slotAddBlackFrame()
{
//Does one need to do this if digikam did so already?
KImageIO::registerFormats();
KFileDialog *fileSelectDialog = new KFileDialog(QString(), KImageIO::pattern(), this, "", true);
fileSelectDialog->setCaption(i18n("Select Black Frame Image"));
fileSelectDialog->setURL(m_blackFrameURL.path());
if (fileSelectDialog->exec() != QDialog::Rejected)
{
//Load the selected file and insert into the list
m_blackFrameURL = fileSelectDialog->selectedURL();
m_blackFrameListView->clear();
new BlackFrameListViewItem(m_blackFrameListView, m_blackFrameURL);
}
delete fileSelectDialog;
}
More information about the Digikam-devel
mailing list