[vlmc-devel] commit: SettingValue: Adding a flag to force a value not to be empty. ( =?UTF-8?Q?Hugo=20Beauz=C3=A9e=2DLuyssen?==?UTF-8?Q?=20?=)

git at videolan.org git at videolan.org
Sun Dec 5 21:29:14 CET 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Dec  5 21:16:09 2010 +0100| [9ee041614bdd5f5304d5be910fd70d5f2cfbac85] | committer: Hugo Beauzée-Luyssen 

SettingValue: Adding a flag to force a value not to be empty.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=9ee041614bdd5f5304d5be910fd70d5f2cfbac85
---

 src/Settings/SettingValue.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Settings/SettingValue.h b/src/Settings/SettingValue.h
index dd299fb..f0aad47 100644
--- a/src/Settings/SettingValue.h
+++ b/src/Settings/SettingValue.h
@@ -58,6 +58,7 @@ class   SettingValue : public QObject
             Password        = 1 << 1,
             Clamped         = 1 << 2, ///< When used, the m_min and m_max will be used
             EightMultiple   = 1 << 3, ///< Forces the value to be a multiple of 8
+            NotEmpty        = 1 << 4, ///< Forces the value not to be empty (likely to be user only with Strings)
         };
         Q_DECLARE_FLAGS( Flags, Flag );
 



More information about the Vlmc-devel mailing list