summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/medianotifier
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-05-30 14:52:26 +0900
committerMichele Calgaro <[email protected]>2020-05-30 16:57:25 +0900
commitcbbf46ebb6287b34d0bca3cb06796e01183562ed (patch)
tree24787ce212db7f388a366643391ede4f6b684be1 /tdeioslave/media/medianotifier
parentec4f0efe77766b2a242787c70a98a560fd266a44 (diff)
downloadtdebase-cbbf46ebb6287b34d0bca3cb06796e01183562ed.tar.gz
tdebase-cbbf46ebb6287b34d0bca3cb06796e01183562ed.zip
Improved support for bluray discs.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 32381684a2eecaaa43616d5bc8ab51780d42e336)
Diffstat (limited to 'tdeioslave/media/medianotifier')
-rw-r--r--tdeioslave/media/medianotifier/medianotifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeioslave/media/medianotifier/medianotifier.cpp b/tdeioslave/media/medianotifier/medianotifier.cpp
index 88f58af2d..069e205de 100644
--- a/tdeioslave/media/medianotifier/medianotifier.cpp
+++ b/tdeioslave/media/medianotifier/medianotifier.cpp
@@ -146,7 +146,7 @@ bool MediaNotifier::autostart( const KFileItem &medium )
{
TQString mimetype = medium.mimetype();
- bool is_cdrom = mimetype.startsWith( "media/cd" ) || mimetype.startsWith( "media/dvd" );
+ bool is_cdrom = mimetype.startsWith( "media/cd" ) || mimetype.startsWith( "media/dvd" ) || mimetype.startsWith( "media/bluray" );
bool is_mounted = mimetype.contains( "_mounted" );
// We autorun only on CD/DVD or removable disks (USB, Firewire)