forked from qt-creator/qt-creator
Fix i18n problems
In the QmlEngine, a few tr() have been replaced by QCoreApplication::translate(). In other files, Q_OBJECT has been added to the class definitions. Change-Id: Ia0505c19934dc691cd3d67f4946293290c2fec68 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -109,6 +109,7 @@ private:
|
||||
|
||||
class AndroidDeviceModelDelegate : public QStyledItemDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
AndroidDeviceModelDelegate(QObject * parent = 0)
|
||||
: QStyledItemDelegate(parent)
|
||||
@@ -239,6 +240,7 @@ public:
|
||||
|
||||
class AndroidDeviceModel : public QAbstractItemModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
AndroidDeviceModel(int apiLevel, const QString &abi, AndroidConfigurations::Options options);
|
||||
QModelIndex index(int row, int column,
|
||||
@@ -663,3 +665,5 @@ void AndroidDeviceDialog::defaultDeviceClear()
|
||||
m_ui->lookingForDeviceCancel->setVisible(false);
|
||||
m_defaultDevice.clear();
|
||||
}
|
||||
|
||||
#include "androiddevicedialog.moc"
|
||||
|
||||
Reference in New Issue
Block a user