mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
CValueObject virtual method toIcon, reprsenting the object as icon where applicable.
Currently used for status messages (severity), will be used for CAtcStation and others as well.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
4ec1db4b38
commit
fda587994d
@@ -21,10 +21,10 @@ int main(int argc, char *argv[])
|
||||
BlackMisc::registerMetadata();
|
||||
// BlackMisc::displayAllUserMetatypesTypes();
|
||||
|
||||
QFile file(":/translations/blackmisc_i18n_de.qm");
|
||||
QFile file(":blackmisc/translations/blackmisc_i18n_de.qm");
|
||||
qDebug() << (file.exists() ? "Found translations in resources" : "No translations in resources");
|
||||
QTranslator translator;
|
||||
translator.load("blackmisc_i18n_de", ":/translations/");
|
||||
translator.load("blackmisc_i18n_de", ":blackmisc/translations/");
|
||||
|
||||
// app
|
||||
QApplication a(argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user