SongEditor: made smoooth scrolling an optional feature

As smooth scrolling seems to cause problems for some users it now has
to be enabled explicitely in the settings dialog.

Closes #3194891.
This commit is contained in:
Tobias Doerffel
2011-03-17 09:23:38 +01:00
parent dd9ba4b2ad
commit a90ffed0a8
4 changed files with 49 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
/*
* setup_dialog.h - dialog for setting up LMMS
*
* Copyright (c) 2005-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2005-2011 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
@@ -104,6 +104,7 @@ private slots:
void toggleDisableChActInd( bool _disabled );
void toggleManualChPiano( bool _enabled );
void toggleSmoothScroll( bool _enabled );
void toggleOneInstrumentTrackWindow( bool _enabled );
@@ -149,6 +150,7 @@ private:
bool m_disableChActInd;
bool m_manualChPiano;
bool m_smoothScroll;
bool m_oneInstrumentTrackWindow;
typedef QMap<QString, AudioDevice::setupWidget *> AswMap;

View File

@@ -129,6 +129,7 @@ private:
positionLine * m_positionLine;
bool m_scrollBack;
bool m_smoothScroll;
} ;