mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 09:40:52 +01:00
Add widget to select langage, must relauch qet for make change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2762 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -48,8 +48,7 @@ ElementsCollectionCache *GenericPanel::getElementsCache() {
|
||||
// build a default cache
|
||||
QString cache_path = "./genericpanel.sqlite";
|
||||
cache_ = new ElementsCollectionCache(cache_path, this);
|
||||
/// @todo we need a unique function to get the good language
|
||||
cache_ -> setLocale(QLocale::system().name().left(2));
|
||||
cache_->setLocale(QETApp::langFromSetting());
|
||||
}
|
||||
return(cache_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user