2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

fixed couple of crashes, webpage doc init, added tooltips to overview, fixed shared links empty url, langs updated for 0.8.55 stable version

This commit is contained in:
John Preston
2015-09-01 16:50:56 +03:00
parent 25b6740f91
commit b0c23fb875
12 changed files with 141 additions and 60 deletions

View File

@@ -78,6 +78,7 @@ public:
public slots:
void onUpdateSelected();
void showLinkTip();
void openContextUrl();
void copyContextUrl();
@@ -211,8 +212,11 @@ private:
int32 _width, _height, _minHeight, _addToY;
QTimer _linkTipTimer;
// selection support, like in HistoryWidget
Qt::CursorShape _cursor;
HistoryCursorState _cursorState;
typedef QMap<MsgId, uint32> SelectedItems;
SelectedItems _selected;
enum DragAction {
@@ -232,7 +236,7 @@ private:
uint16 _dragSymbol;
bool _dragWasInactive;
QString urlByIndex(MsgId msgid, int32 index, int32 lnkIndex) const;
QString urlByIndex(MsgId msgid, int32 index, int32 lnkIndex, bool *fullShown = 0) const;
bool urlIsEmail(const QString &url) const;
QString _contextMenuUrl;