[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeaccessibility/kmag
From: Laurent Montel <montel () kde ! org>
Date: 2006-01-24 13:09:21
Message-ID: 1138108161.598144.21572.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 501956 by mlaurent:
Compile
M +4 -2 kmag.cpp
--- trunk/KDE/kdeaccessibility/kmag/kmag.cpp #501955:501956
@@ -526,7 +526,8 @@
if(!url.isLocalFile()) {
// create a temp file.. save image to it.. copy over the n/w and then delete \
the temp file. KTempFile tempFile;
- if(!m_zoomView->getPixmap().save(tempFile.name(), \
KImageIO::type(url.fileName()).latin1())) { +#warning "kde4: port KImageIO::type \
\n"; + if(!m_zoomView->getPixmap().save(tempFile.name(),"png"/*, \
KImageIO::type(url.fileName()).latin1()*/)) {
KMessageBox::error(0, i18n("Unable to save temporary file (before uploading \
to the network file you specified)."), i18n("Error Writing File"));
} else {
@@ -542,7 +543,8 @@
tempFile.unlink();
} else {
- if(!m_zoomView->getPixmap().save(url.path(), \
KImageIO::type(url.fileName()).latin1())) { +#warning "kde4 : port \
KImageIO::type(...) \n"; + if(!m_zoomView->getPixmap().save(url.path(), \
"png"/*KImageIO::type(url.fileName()).latin1()*/)) {
KMessageBox::error(0, i18n("Unable to save file. Please check if you have \
permission to write to the directory."), i18n("Error Writing File"));
} else {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic