mirror of https://github.com/procxx/kepka.git
Fix IME being interrupted after reconnection
Signed-off-by: Yonsh Lin <yonsh@live.com> (github: yonsh)
This commit is contained in:
parent
a0fbbf2fb6
commit
11a46a1072
|
@ -460,6 +460,7 @@ void MainWindow::ui_hideMediaPreview() {
|
||||||
void MainWindow::showConnecting(const QString &text, const QString &reconnect) {
|
void MainWindow::showConnecting(const QString &text, const QString &reconnect) {
|
||||||
if (_connecting) {
|
if (_connecting) {
|
||||||
_connecting->set(text, reconnect);
|
_connecting->set(text, reconnect);
|
||||||
|
_connecting->show();
|
||||||
} else {
|
} else {
|
||||||
_connecting.create(bodyWidget(), text, reconnect);
|
_connecting.create(bodyWidget(), text, reconnect);
|
||||||
_connecting->show();
|
_connecting->show();
|
||||||
|
@ -470,7 +471,7 @@ void MainWindow::showConnecting(const QString &text, const QString &reconnect) {
|
||||||
|
|
||||||
void MainWindow::hideConnecting() {
|
void MainWindow::hideConnecting() {
|
||||||
if (_connecting) {
|
if (_connecting) {
|
||||||
_connecting.destroyDelayed();
|
_connecting->hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue