[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [k3b/cdrskin] libk3b/projects: Change arguments for Cdrskin Writter
From:       Leslie Zhai <xiangzhai83 () gmail ! com>
Date:       2016-12-06 2:18:36
Message-ID: E1cE5L2-0003gF-4h () code ! kde ! org
[Download RAW message or body]

Git commit 702de8d57cebce3d6aefe74fa19f68d70650d0b4 by Leslie Zhai.
Committed on 06/12/2016 at 02:17.
Pushed by lesliezhai into branch 'cdrskin'.

Change arguments for Cdrskin Writter

FAILED: cdrskin-k3b1.log

CCMAIL: scdbackup@gmx.net
CCBUG: 137436

M  +6    -3    libk3b/projects/k3bcdrskinwriter.cpp

https://commits.kde.org/k3b/702de8d57cebce3d6aefe74fa19f68d70650d0b4

diff --git a/libk3b/projects/k3bcdrskinwriter.cpp b/libk3b/projects/k3bcdrs=
kinwriter.cpp
index 61dd49770..1f4f541eb 100644
--- a/libk3b/projects/k3bcdrskinwriter.cpp
+++ b/libk3b/projects/k3bcdrskinwriter.cpp
@@ -259,10 +259,13 @@ bool K3b::CdrskinWriter::prepareProcess()
         //
         // One may omit both -tao and -sao in order to let cdrskin decide =
on base
         // of -multi, input source and Medium state which write type to us=
e.
+        if (burnDevice()->vendor().contains("CDEmu") || burnDevice()->desc=
ription().contains("Virt"))
+            d->process << "-tao";
 #ifdef K3B_DEBUG
-        qDebug() << "DEBUG:" << __PRETTY_FUNCTION__ << "K3B user get *NO* =
opportunity "
-            "via UI to explicitely choose SAO/DAO""let libburn choose "
-            "the write type according to other parameters and the medium s=
tate.";
+        qDebug() << "DEBUG:" << __PRETTY_FUNCTION__ << "K3B user get *NO* "
+            "opportunity via UI to explicitely choose SAO/DAO" <<
+            "let libburn choose the write type according to other paramete=
rs "
+            "and the medium state.";
 #endif
     }
     else if( K3b::Device::isCdMedia( d->burnedMediaType ) ) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic