diff options
author | Timothy Pearson <[email protected]> | 2011-11-26 17:42:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-26 17:42:48 -0600 |
commit | 4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 (patch) | |
tree | 995c0d3e35794c1bb1029d6b7eacdd80827807bd /src/gui/dialogs/AudioManagerDialog.cpp | |
parent | 1461610fb35bb0fcee490f274ea84b8ebfeb1566 (diff) | |
download | rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.tar.gz rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.zip |
Fix FTBFS
Diffstat (limited to 'src/gui/dialogs/AudioManagerDialog.cpp')
-rw-r--r-- | src/gui/dialogs/AudioManagerDialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/dialogs/AudioManagerDialog.cpp b/src/gui/dialogs/AudioManagerDialog.cpp index b2a2142..0c38cc2 100644 --- a/src/gui/dialogs/AudioManagerDialog.cpp +++ b/src/gui/dialogs/AudioManagerDialog.cpp @@ -882,7 +882,7 @@ AudioManagerDialog::slotDeleteUnused() } for (int i = 0; i < names.size(); ++i) { - std::cerr << i << ": " << names[i] << std::endl; + std::cerr << i << ": " << names[i].ascii() << std::endl; TQFile file(names[i]); if (!file.remove()) { KMessageBox::error(this, i18n("File %1 could not be deleted.").tqarg(names[i])); @@ -891,7 +891,7 @@ AudioManagerDialog::slotDeleteUnused() m_doc->getAudioFileManager().removeFile(nameMap[names[i]]); emit deleteAudioFile(nameMap[names[i]]); } else { - std::cerr << "WARNING: Audio file name " << names[i] << " not in name map" << std::endl; + std::cerr << "WARNING: Audio file name " << names[i].ascii() << " not in name map" << std::endl; } TQFile peakFile(TQString("%1.pk").tqarg(names[i])); @@ -1150,7 +1150,7 @@ AudioManagerDialog::slotDropped(TQDropEvent *event, TQListViewItem*) // see if we can decode a URI.. if not, just ignore it if (TQUriDrag::decode(event, uri)) { // okay, we have a URI.. process it - for (TQString url = uri.first(); url; url = uri.next()) { + for (TQString url = uri.first(); !url.isNull(); url = uri.next()) { RG_DEBUG << "AudioManagerDialog::dropEvent() : got " << url << endl; @@ -1222,7 +1222,7 @@ AudioManagerDialog::slotDistributeOnMidiSegment() //Composition &comp = m_doc->getComposition(); - TQList<RosegardenGUIView>& viewList = m_doc->getViewList(); + TQPtrList<RosegardenGUIView>& viewList = m_doc->getViewList(); RosegardenGUIView *w = 0; SegmentSelection selection; |