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 14:52:26 +0900
commit32381684a2eecaaa43616d5bc8ab51780d42e336 (patch)
tree832f6a82dd958e9a9d0a7baf3a486cad155e592d /tdeioslave/media/medianotifier
parentfadfb67a5c1fc28d4b724a51e36dbe03d8fdd196 (diff)
downloadtdebase-32381684a2eecaaa43616d5bc8ab51780d42e336.tar.gz
tdebase-32381684a2eecaaa43616d5bc8ab51780d42e336.zip
Improved support for bluray discs.
Signed-off-by: Michele Calgaro <[email protected]>
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)