UI: Rename UI files for consistency

Changes comboBox-* and spinBox-* files to lowercase to be more
consistent with the rest of the files in the UI directory.
This commit is contained in:
jp9000
2019-04-21 04:10:46 -07:00
parent 140f927f4f
commit 72ccefff5f
8 changed files with 16 additions and 16 deletions

View File

@@ -0,0 +1,14 @@
#include "combobox-ignorewheel.hpp"
ComboBoxIgnoreScroll::ComboBoxIgnoreScroll(QWidget *parent) : QComboBox(parent)
{
setFocusPolicy(Qt::StrongFocus);
}
void ComboBoxIgnoreScroll::wheelEvent(QWheelEvent *event)
{
if (!hasFocus())
event->ignore();
else
QComboBox::wheelEvent(event);
}