fix tr() cannot be called without context

add QObject::
qetdiagrameditor.cpp:2341: tr() cannot be called without context
qetdiagrameditor.cpp:2372: tr() cannot be called without context
diagramfoliolist.cpp:175: Class 'DiagramFolioList' lacks Q_OBJECT macro
This commit is contained in:
Simon De Backer
2020-06-21 07:59:54 +02:00
committed by Laurent Trinques
parent ca2e737df3
commit cfb5acc8d5
2 changed files with 3 additions and 3 deletions

View File

@@ -2338,7 +2338,7 @@ void QETDiagramEditor::generateTerminalBlock()
}
#elif defined(Q_OS_MAC)
QMessageBox::warning(nullptr,
tr("Error launching qet_tb_generator plugin"),
QObject::tr("Error launching qet_tb_generator plugin"),
QObject::tr("To install the plugin qet_tb_generator"
"<br>"
"Visit :"
@@ -2369,7 +2369,7 @@ void QETDiagramEditor::generateTerminalBlock()
#else
QMessageBox::warning(nullptr,
tr("Error launching qet_tb_generator plugin"),
QObject::tr("Error launching qet_tb_generator plugin"),
QObject::tr("To install the plugin qet_tb_generator"
"<br>"
"Visit : "