Skip to content

Commit

Permalink
fixed lang, notifywindow init and sendToMenu hiding not in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jul 18, 2014
1 parent 070ea58 commit 41c1eff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Telegram/Resources/lang.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/gui/flattextarea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/settingswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ void SettingsInner::showAll() {
_autoStart.hide();
_startMinimized.hide();

_sendToMenu.show();
_sendToMenu.hide();
}
if (cRetina()) {
_dpiSlider.hide();
Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41c1eff

Please sign in to comment.