Skip to content

Commit daa78b1

Browse files
committed
Translations and logo
Fixes #2
1 parent bb63ab5 commit daa78b1

File tree

20 files changed

+1095
-330
lines changed

20 files changed

+1095
-330
lines changed

src/SerialTest.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ android {
33
QT += androidextras
44
}
55

6+
67
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
78

89
CONFIG += c++11
@@ -72,6 +73,8 @@ FORMS += \
7273
TRANSLATIONS += \
7374
i18n/SerialTest_zh_CN.ts
7475

76+
RC_ICONS = icon/icon.ico
77+
7578
# Default rules for deployment.
7679
qnx: target.path = /tmp/$${TARGET}/bin
7780
else: unix:!android: target.path = /opt/$${TARGET}/bin

src/android/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<!-- %%INSERT_FEATURES -->
1010

1111
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
12-
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="SerialTest" android:extractNativeLibs="true" android:largeHeap="true">
13-
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" android:name="priv.wh201906.serialtest.MainActivity" android:label="SerialTest" android:launchMode="singleTask">
12+
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="SerialTest" android:extractNativeLibs="true" android:largeHeap="true" android:icon="@drawable/icon">
13+
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" android:name="priv.wh201906.serialtest.MainActivity" android:label="SerialTest" android:launchMode="singleTask" android:screenOrientation="unspecified">
1414
<intent-filter>
1515
<action android:name="android.intent.action.MAIN"/>
1616
<category android:name="android.intent.category.LAUNCHER"/>
2.37 KB
Loading
1.13 KB
Loading
1.5 KB
Loading
3.36 KB
Loading
5.18 KB
Loading
6.91 KB
Loading

src/android/res/drawable/icon.png

20.2 KB
Loading

src/filetab.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ FileTab::FileTab(QWidget *parent) :
6161
ui->RawRx_autostopByteBox->setValidator(m_intValidator);
6262

6363
on_tipsBackButton_clicked();
64-
setAcceptDrops(true);
6564

6665
connect(ui->protoBox, &QComboBox::currentTextChanged, this, &FileTab::onModeProtocolChanged);
6766
connect(ui->sendModeButton, &QRadioButton::toggled, this, &FileTab::onModeProtocolChanged); // just set one of them, the slot will be called when setChecked() is called

0 commit comments

Comments
 (0)