summaryrefslogtreecommitdiff
path: root/muse2/muse/cliplist/cliplist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/cliplist/cliplist.cpp')
-rw-r--r--muse2/muse/cliplist/cliplist.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/muse2/muse/cliplist/cliplist.cpp b/muse2/muse/cliplist/cliplist.cpp
index 02a30dec..f610805e 100644
--- a/muse2/muse/cliplist/cliplist.cpp
+++ b/muse2/muse/cliplist/cliplist.cpp
@@ -67,7 +67,7 @@ ClipItem::ClipItem(QTreeWidget* parent, const MusECore::SndFileR& w)
// samples2smpte
//---------------------------------------------------------
-#if 0
+#if 0 // DELETETHIS ?
static QString samples2smpte(int samples)
{
double time = double(samples) / double(sampleRate);
@@ -96,7 +96,7 @@ static QString samples2smpte(int samples)
}
#endif
-/*
+/* DELETETHIS
//---------------------------------------------------------
// text
//---------------------------------------------------------
@@ -126,14 +126,11 @@ QString ClipItem::text(int col) const
ClipListEdit::ClipListEdit(QWidget* parent)
: TopWin(TopWin::CLIPLIST, parent, "cliplist", Qt::Window)
{
- //setAttribute(Qt::WA_DeleteOnClose);
setWindowTitle(tr("MusE: Clip List Editor"));
editor = new ClipListEditorBaseWidget;
setCentralWidget(editor);
- //editor->view->setColumnAlignment(COL_REFS, Qt::AlignRight);
-
QMenu* settingsMenu = menuBar()->addMenu(tr("Window &Config"));
settingsMenu->addAction(subwinAction);
@@ -283,7 +280,7 @@ void ClipListEdit::writeConfiguration(int level, MusECore::Xml& xml)
void ClipListEdit::startChanged(const MusECore::Pos& /*pos*/)//prevent compiler warning: unsused parameter
{
-// editor->view->triggerUpdate();
+// editor->view->triggerUpdate(); DELETETHIS whole function?
}
//---------------------------------------------------------
@@ -292,7 +289,7 @@ void ClipListEdit::startChanged(const MusECore::Pos& /*pos*/)//prevent compiler
void ClipListEdit::lenChanged(const MusECore::Pos& /*pos*/) //prevent compiler warning: unsused parameter
{
-// curClip.setLenFrame(pos.frame());
+// curClip.setLenFrame(pos.frame()); DELETETHIS whole function?
// editor->view->triggerUpdate();
}
@@ -308,7 +305,7 @@ void ClipListEdit::clipSelectionChanged()
editor->start->setEnabled(false);
editor->len->setEnabled(false);
return;
-/*
+/* DELETETHIS and the above two comments
}
editor->start->setEnabled(true);
editor->len->setEnabled(true);
@@ -328,7 +325,7 @@ void ClipListEdit::clipSelectionChanged()
void ClipListEdit::clicked(QTreeWidgetItem*, int)
{
-// printf("clicked\n");
+// printf("clicked\n"); DELETETHIS whole function
}
} // namespace MusEGui