[vlc-devel] [PATCH 1/7] gui/qt: info_panels: remove function setSpinBounds (unused)

Filip Roséen filip at atch.se
Sat Feb 25 07:38:56 CET 2017


The usage of setSpinBounds was removed in September 2007 (by
e6e2ad0572dce549b74d15ebb23727714b3590b2),

--

 - http://git.videolan.org/?p=vlc.git;a=commit;h=e6e2ad0572dce549b74d15ebb23727714b3590b2
---
 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 b771eb6994..75032750a3 100644
--- a/modules/gui/qt/components/info_panels.cpp
+++ b/modules/gui/qt/components/info_panels.cpp
@@ -48,14 +48,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
  ************************************************************************/
-- 
2.11.1



More information about the vlc-devel mailing list