diff options
-rw-r--r-- | k9decmpeg/k9plaympeg2.cpp | 2 | ||||
-rw-r--r-- | libk9copy/k9burndvd.cpp | 2 | ||||
-rw-r--r-- | libk9copy/k9cellcopylist.cpp | 2 | ||||
-rw-r--r-- | libk9copy/k9dvd.cpp | 2 | ||||
-rw-r--r-- | libk9copy/k9dvdauthor.cpp | 2 | ||||
-rw-r--r-- | libk9copy/k9saveimage.cpp | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/k9decmpeg/k9plaympeg2.cpp b/k9decmpeg/k9plaympeg2.cpp index db0c02e..91b5606 100644 --- a/k9decmpeg/k9plaympeg2.cpp +++ b/k9decmpeg/k9plaympeg2.cpp @@ -48,7 +48,7 @@ void k9PlayMPEG2::playTitle() { /* open dvdnav handle */ - if (dvdnav_open(&dvdnav, m_device,m_dvd) != DVDNAV_STATUS_OK) { + if (dvdnav_open(&dvdnav, m_device.local8Bit(), m_dvd) != DVDNAV_STATUS_OK) { setError("ERR:Error on dvdnav_open\n"); return ; } diff --git a/libk9copy/k9burndvd.cpp b/libk9copy/k9burndvd.cpp index b30ee59..8269344 100644 --- a/libk9copy/k9burndvd.cpp +++ b/libk9copy/k9burndvd.cpp @@ -59,7 +59,7 @@ void k9BurnDVD::setburnDevice( const TQString& _newVal) { /** Write property of TQString workDir. */ void k9BurnDVD::setworkDir( const TQString& _newVal) { workDir = _newVal; - if (workDir.right(1)!='/') + if (workDir.right(1)!="/") workDir +='/'; } diff --git a/libk9copy/k9cellcopylist.cpp b/libk9copy/k9cellcopylist.cpp index c04ea0b..2449742 100644 --- a/libk9copy/k9cellcopylist.cpp +++ b/libk9copy/k9cellcopylist.cpp @@ -109,7 +109,7 @@ k9Cell *k9CellCopyList::addCell(int _VTS,int _pgc,int _id,uint32_t startSector,u if (cell->startSector ==startSector && cell->vts==_VTS) { bFound=true; if (cell->lastSector!=lastSector ) - tqDebug("last sector doesn't match","DVD Backup"); + tqDebug("last sector doesn't match DVD Backup"); } if (!bFound && (_VTS <cell->vts || (startSector<cell->startSector && cell->vts ==_VTS ) )) { diff --git a/libk9copy/k9dvd.cpp b/libk9copy/k9dvd.cpp index ddb7fde..6b38063 100644 --- a/libk9copy/k9dvd.cpp +++ b/libk9copy/k9dvd.cpp @@ -258,7 +258,7 @@ TQString k9DVD::lang_name(const TQString& code,const TQString & name) { c = l.name; } } else { - if (strcmp(name.latin1(),l.name)==0) { + if (name == l.name) { c = l.code; } diff --git a/libk9copy/k9dvdauthor.cpp b/libk9copy/k9dvdauthor.cpp index e6023e7..b45e1a0 100644 --- a/libk9copy/k9dvdauthor.cpp +++ b/libk9copy/k9dvdauthor.cpp @@ -404,7 +404,7 @@ const TQString& k9DVDAuthor::getworkDir() { } void k9DVDAuthor::setworkDir( const TQString& _newVal) { workDir = _newVal; - if (workDir.right(1)!='/') + if (workDir.right(1)!="/") workDir +='/'; } diff --git a/libk9copy/k9saveimage.cpp b/libk9copy/k9saveimage.cpp index 758f8de..20e643a 100644 --- a/libk9copy/k9saveimage.cpp +++ b/libk9copy/k9saveimage.cpp @@ -76,7 +76,7 @@ void k9SaveImage::run() { TQString sFileName=m_tempFile->name(); m_image.save(sFileName,"PNG"); sFileName="\rINFOIMAGE:"+sFileName; - fprintf(stderr,"%s",sFileName.data()); + fprintf(stderr,"%s",sFileName.local8Bit()); m_mutex.unlock(); } |