[vlc-commits] gui/qt: info_panels: remove function setSpinBounds (unused)
Filip Roséen
git at videolan.org
Sat Feb 25 15:22:15 CET 2017
vlc | branch: master | Filip Roséen <filip at atch.se> | Sat Feb 25 07:38:56 2017 +0100| [78905f626dcc30e780db64db40eb4085b990bdf3] | committer: Jean-Baptiste Kempf
gui/qt: info_panels: remove function setSpinBounds (unused)
The usage of setSpinBounds was removed in September 2007 (by
e6e2ad0572dce549b74d15ebb23727714b3590b2),
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=78905f626dcc30e780db64db40eb4085b990bdf3
---
modules/gui/qt/components/info_panels.cpp | 8 --------
1 file changed, 8 deletions(-)
diff --git a/modules/gui/qt/components/info_panels.cpp b/modules/gui/qt/components/info_panels.cpp
index f008922..f4b3028 100644
--- a/modules/gui/qt/components/info_panels.cpp
+++ b/modules/gui/qt/components/info_panels.cpp
@@ -49,14 +49,6 @@
#include <QSpinBox>
#include <QTextEdit>
-static inline void setSpinBounds( QSpinBox *spinbox ) {
- spinbox->setRange( 0, INT_MAX );
- spinbox->setAccelerated( true );
- spinbox->setAlignment( Qt::AlignRight );
- spinbox->setSpecialValueText("");
-}
-
-
/************************************************************************
* Single panels
************************************************************************/
More information about the vlc-commits
mailing list