fixed lang, notifywindow init and sendToMenu hiding not in windows

This commit is contained in:
John Preston 2014-07-18 15:12:18 +04:00
parent 070ea58a53
commit 41c1effb4a
4 changed files with 4 additions and 4 deletions

View File

@ -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";

View File

@ -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 {

View File

@ -664,7 +664,7 @@ void SettingsInner::showAll() {
_autoStart.hide();
_startMinimized.hide();
_sendToMenu.show();
_sendToMenu.hide();
}
if (cRetina()) {
_dpiSlider.hide();

View File

@ -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