Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aualin:kde
kdebase3
kio-media-errorhandling.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kio-media-errorhandling.diff of Package kdebase3
Index: kioslave/media/mediaimpl.cpp =================================================================== --- kioslave/media/mediaimpl.cpp.orig +++ kioslave/media/mediaimpl.cpp @@ -274,6 +274,13 @@ bool MediaImpl::ensureMediumMounted(Medi return m_lastErrorCode==0; } + if (medium.id().isEmpty()) + { + m_lastErrorCode = KIO::ERR_COULD_NOT_MOUNT; + m_lastErrorMessage = i18n("No such medium."); + return false; + } + return true; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor