[Marble-devel] setLocations, some translation problems

Mülner, Helmut helmut.muelner at joanneum.at
Fri Jun 12 09:19:05 CEST 2009


Hi,

setLocations which does the sorting of the search items, is now called on tow occasions:
 - when loading the first placemark file
 - when the search input line becomes empty

I think it should be called when all placemark files are loaded, the call on the empty input line should then become unneccessary.
I did not find the correct location to insert this call.


There are some problems with translations in QtMainWindow:

    m_position = NOT_AVAILABLE; // does not work with translations
    m_infoBoxesMenu = m_fileMenu->addMenu("&Info Boxes"); // tr missing
    m_onlineServicesMenu = m_fileMenu->addMenu("&Online Services"); // tr missing

In general, tr( NOT_AVAILABLE ) does not work because of different context strings.

Best regards

Helmut Mülner


More information about the Marble-devel mailing list