[uim-commit] r632 - trunk/qt
makeinu at freedesktop.org
makeinu at freedesktop.org
Fri Feb 11 07:53:37 PST 2005
Author: makeinu
Date: 2005-02-11 07:53:16 -0800 (Fri, 11 Feb 2005)
New Revision: 632
Modified:
trunk/qt/pref-qt.cpp
Log:
* qt/pref-qt.cpp
- (SubgroupData::searchGroupVBoxByCustomSym):
Check whether the gvboxMap contains the given key.
Modified: trunk/qt/pref-qt.cpp
===================================================================
--- trunk/qt/pref-qt.cpp 2005-02-11 14:57:44 UTC (rev 631)
+++ trunk/qt/pref-qt.cpp 2005-02-11 15:53:16 UTC (rev 632)
@@ -603,6 +603,8 @@
QVGroupBox * SubgroupData::searchGroupVBoxByCustomSym( const char *custom_sym ) const
{
+ if (gvboxMap.find(custom_sym) == gvboxMap.end())
+ return NULL;
return gvboxMap[QString(custom_sym)];
}
More information about the Uim-commit
mailing list