Changeset 8931ea0


Ignore:
Timestamp:
02/27/15 06:10:00 (2 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.1.2
Children:
ba52f7e
Parents:
c788b73
Message:

Just in case the PCDM translation files could not be found, still set the current locale to teh one last used by PCDM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt5/PCDM/src/main.cpp

    r9e95a2e r8931ea0  
    139139    PCDMgui w; 
    140140 
    141     QLocale locale(langCode); 
     141    QLocale locale(lang); //Always use the "lang" saved from last login - even if the "langCode" was reset to en_US for loading PCDM translations 
    142142    w.setLocale(locale); 
    143143    //qDebug() << "Main GUI Created:" << QString::number(clock.elapsed())+" ms"; 
Note: See TracChangeset for help on using the changeset viewer.