mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 01:44:26 +00:00
- Fixed tooltp behaviour for trayicon
This commit is contained in:
parent
d187fd1099
commit
c32fe3a41d
@ -34,6 +34,7 @@
|
|||||||
- BUGFIX: Fixed download button in search engine
|
- BUGFIX: Fixed download button in search engine
|
||||||
- BUGFIX: Fixed selective download
|
- BUGFIX: Fixed selective download
|
||||||
- BUGFIX: Fixed memory leaks in torrent properties
|
- BUGFIX: Fixed memory leaks in torrent properties
|
||||||
|
- BUGFIX: Fixed tooltip behaviour for trayicon
|
||||||
- COSMETIC: Now displaying the number of downloads in tab title
|
- COSMETIC: Now displaying the number of downloads in tab title
|
||||||
- COSMETIC: Redesigned download from url dialog
|
- COSMETIC: Redesigned download from url dialog
|
||||||
- COSMETIC: Added a message to warn user that we started download from an url
|
- COSMETIC: Added a message to warn user that we started download from an url
|
||||||
|
@ -231,10 +231,10 @@ void TrayIcon::TrayIconPrivate::enterEvent(QEvent *e)
|
|||||||
ev.xfocus.mode = NotifyNormal;
|
ev.xfocus.mode = NotifyNormal;
|
||||||
ev.xfocus.detail = NotifyAncestor;
|
ev.xfocus.detail = NotifyAncestor;
|
||||||
|
|
||||||
unsigned long oldTime = QX11Info::appTime();
|
// unsigned long oldTime = QX11Info::appTime();
|
||||||
QX11Info::setAppTime(1);
|
// QX11Info::setAppTime(1);
|
||||||
qApp->x11ProcessEvent( &ev );
|
qApp->x11ProcessEvent( &ev );
|
||||||
QX11Info::setAppTime(oldTime);
|
// QX11Info::setAppTime(oldTime);
|
||||||
|
|
||||||
/*}
|
/*}
|
||||||
#endif*/
|
#endif*/
|
||||||
@ -336,10 +336,10 @@ bool TrayIconFreeDesktop::x11Event(XEvent *ev)
|
|||||||
switch(ev->type)
|
switch(ev->type)
|
||||||
{
|
{
|
||||||
case ReparentNotify:
|
case ReparentNotify:
|
||||||
setUpdatesEnabled(false);
|
// setUpdatesEnabled(false);
|
||||||
show();
|
show();
|
||||||
updateMask();
|
// updateMask();
|
||||||
setUpdatesEnabled(true);
|
// setUpdatesEnabled(true);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user