2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 07:05:13 +00:00

moved shadows to widgets where they are displayed

This commit is contained in:
John Preston
2015-10-17 10:31:48 +02:00
parent 48756111a9
commit 5c3d030b9a
20 changed files with 193 additions and 166 deletions

View File

@@ -176,7 +176,7 @@ private:
};
class DialogsWidget : public QWidget, public Animated, public RPCSender {
class DialogsWidget : public TWidget, public Animated, public RPCSender {
Q_OBJECT
public:
@@ -222,8 +222,6 @@ public:
DialogsIndexed &contactsList();
DialogsIndexed &dialogsList();
void enableShadow(bool enable = true);
void searchMessages(const QString &query, PeerData *inPeer = 0);
void onSearchMore(MsgId minMsgId);
@@ -256,8 +254,6 @@ public slots:
private:
bool _drawShadow;
bool _dragInScroll, _dragForward;
QTimer _chooseByDragTimer;