diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-05-03 12:31:42 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-05-03 12:31:42 -0500 |
commit | 3bfc84b0fc3558c377e2f5a99548a6903a9ee7c3 (patch) | |
tree | 83c944f12d9e2ed676eb9dd1edc84e7f71c8d786 /libk9copy | |
parent | 4e97f447be4b34762bde1d8bcbc4086f8d4e9d45 (diff) | |
download | k9copy-3bfc84b0fc3558c377e2f5a99548a6903a9ee7c3.tar.gz k9copy-3bfc84b0fc3558c377e2f5a99548a6903a9ee7c3.zip |
Fix 'format not a string literal' error
Clean up warning
Diffstat (limited to 'libk9copy')
-rw-r--r-- | libk9copy/k9burndvd.cpp | 8 | ||||
-rw-r--r-- | libk9copy/k9burndvd.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libk9copy/k9burndvd.cpp b/libk9copy/k9burndvd.cpp index e6f6675..9f95352 100644 --- a/libk9copy/k9burndvd.cpp +++ b/libk9copy/k9burndvd.cpp @@ -112,7 +112,7 @@ void k9BurnDVD::mkisoSizeStdout(KProcess *proc, char *buffer, int buflen) { ; } -const TQString &k9BurnDVD::getImageSize() { +const TQString k9BurnDVD::getImageSize() { TQString c; c="mkisofs"; proc2=new k9Process; @@ -215,8 +215,8 @@ void k9BurnDVD::burnWithGenisoimage() { if ( KMessageBox::warningContinueCancel ( 0,i18n("Insert a recordable DVD"), i18n("DVD burning"))!=KMessageBox::Continue) cancelled=true; } - tqDebug(proc->debug()); - } + tqDebug("%s", proc->debug()); + } if (!cancelled) { @@ -239,7 +239,7 @@ void k9BurnDVD::burnWithGenisoimage() { } } } - } + } } } diff --git a/libk9copy/k9burndvd.h b/libk9copy/k9burndvd.h index fc2edce..94e1e71 100644 --- a/libk9copy/k9burndvd.h +++ b/libk9copy/k9burndvd.h @@ -71,7 +71,7 @@ private: void getWodimCmd(k9Process *proc); void burnWithK3b(); - const TQString &getImageSize(); + const TQString getImageSize(); TQString imageSize; TQString m_speed; private slots: // Private slots |