mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
constify variable in QKeyMapper::clearMappings()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a1578ab9b2
commit
d829b11c9c
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ QKeyMapper::~QKeyMapper()
|
|||
void QKeyMapper::clearMappings()
|
||||
{
|
||||
XIM im = XOpenIM(qt_x11Data->display, NULL, NULL, NULL);
|
||||
QString imlocale = QString::fromLatin1(XLocaleOfIM(im));
|
||||
const QString imlocale = QString::fromLatin1(XLocaleOfIM(im));
|
||||
keyboardInputLocale = QLocale(imlocale);
|
||||
XCloseIM(im);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue