diff options
author | Florian Jung <flo@windfisch.org> | 2012-02-14 17:26:03 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2012-02-14 17:26:03 +0000 |
commit | 3ffd0dacdd7447c6c377f95c1fa7fc45a2612d98 (patch) | |
tree | c8fa5ba7569d3001f3304f16f2f4a5c2546db8df /muse2/muse/widgets/spinbox.cpp | |
parent | bca65ae96031f8d6828cb0038ee768ae11c7cff8 (diff) |
- added support for custom controller columns in the tracklist
they are stored in and read from the global config file.
- tracklist header is now saved into global config, not in songfile.
TODO: - allow the user to customize the custom columns
- make recreating the Header work (graphical glitches currently)
Diffstat (limited to 'muse2/muse/widgets/spinbox.cpp')
-rw-r--r-- | muse2/muse/widgets/spinbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/muse2/muse/widgets/spinbox.cpp b/muse2/muse/widgets/spinbox.cpp index a763eea1..730e4828 100644 --- a/muse2/muse/widgets/spinbox.cpp +++ b/muse2/muse/widgets/spinbox.cpp @@ -49,7 +49,7 @@ bool SpinBox::eventFilter(QObject* o, QEvent* ev) // if (o != (QObject*)editor()) ddskrjo can't find editor() // return QSpinBox::eventFilter(o,ev); - bool retval = FALSE; + bool retval = false; if(ev->type() == QEvent::KeyPress) { QKeyEvent* k = (QKeyEvent*)ev; @@ -65,7 +65,7 @@ bool SpinBox::eventFilter(QObject* o, QEvent* ev) //if(!editor()->isModified()) { clearFocus(); - return TRUE; + return true; } } } @@ -73,7 +73,7 @@ bool SpinBox::eventFilter(QObject* o, QEvent* ev) if(ev->type() == QEvent::MouseButtonDblClick) { emit doubleClicked(); - return TRUE; + return true; } retval = QSpinBox::eventFilter(o, ev); |