mirror of https://github.com/procxx/kepka.git
fixed lang, notifywindow init and sendToMenu hiding not in windows
This commit is contained in:
parent
070ea58a53
commit
41c1effb4a
|
@ -141,7 +141,7 @@ lng_settings_section_notify: "Notifications";
|
|||
lng_settings_desktop_notify: "Desktop notifications";
|
||||
lng_settings_show_name: "Show sender's name";
|
||||
lng_settings_show_preview: "Show message preview";
|
||||
lng_settings_sound_notify: "Sound notification";
|
||||
lng_settings_sound_notify: "Play sound";
|
||||
|
||||
lng_notification_title: "Telegram Desktop";
|
||||
lng_notification_preview: "You have a new message";
|
||||
|
|
|
@ -446,7 +446,7 @@ void FlatTextarea::keyPressEvent(QKeyEvent *e) {
|
|||
emit submitted();
|
||||
} else if (e->key() == Qt::Key_Escape) {
|
||||
emit cancelled();
|
||||
} else if (e->key() == Qt::Key_Tab || ctrl && e->key() == Qt::Key_Backtab) {
|
||||
} else if (e->key() == Qt::Key_Tab || (ctrl && e->key() == Qt::Key_Backtab)) {
|
||||
if (ctrl) {
|
||||
e->ignore();
|
||||
} else {
|
||||
|
|
|
@ -664,7 +664,7 @@ void SettingsInner::showAll() {
|
|||
_autoStart.hide();
|
||||
_startMinimized.hide();
|
||||
|
||||
_sendToMenu.show();
|
||||
_sendToMenu.hide();
|
||||
}
|
||||
if (cRetina()) {
|
||||
_dpiSlider.hide();
|
||||
|
|
|
@ -77,7 +77,7 @@ void TempDirDeleter::onStart() {
|
|||
}
|
||||
|
||||
|
||||
NotifyWindow::NotifyWindow(HistoryItem *item, int32 x, int32 y) : item(item), history(item->history())
|
||||
NotifyWindow::NotifyWindow(HistoryItem *msg, int32 x, int32 y) : history(msg->history()), item(msg)
|
||||
#ifdef Q_OS_WIN
|
||||
, started(GetTickCount())
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue