1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

471 Commits

Author SHA1 Message Date
Polshakov Dmitry
343568339f
style(constructors): Constructors are explicit now 2016-04-20 22:53:27 +03:00
Jason Papakostas
0b53c4fd5c fix(Widget::updateIcons): workaround QIcon fallback bug
Some builds of Qt appear to have a bug in icon loading: QIcon::hasThemeIcon
is sometimes unaware that the icon returned from QIcon::fromTheme was a
fallback icon, causing hasThemeIcon to incorrectly return true.

In qTox this leads to the tray and window icons using the static qTox logo
icon instead of an icon based on the current presence status.

This workaround checks for an icon that definitely does not exist to
determine if hasThemeIcon can be trusted.

On systems with the Qt bug, this workaround will always use our included
icons but user themes will be unable to override them.
2016-04-16 22:21:22 -05:00
sudden6
27c4873dc5
Merge pull request #3134
Diadlo (1):
      fix(core, widget): Added checks
2016-04-15 19:35:53 +02:00
sudden6
f95728a037 revert: fix(systemtrayicon, widget): Added deallocate memory
Revert commit cbb7eeca62

fixes #3144
2016-04-15 00:57:03 +02:00
Diadlo
f28c3a16ae fix(core, widget): Added checks
Fix #3133.
* Added check, that core and coreAv exist, before use them
* Added check, that tox exit, before use them
2016-04-14 23:40:06 +03:00
sudden6
01c56a3af6
Merge pull request #3132
Polshakov Dmitry (1):
      fix(widget): Change focus after create group
2016-04-13 21:49:09 +02:00
Diadlo
cbb7eeca62 fix(systemtrayicon, widget): Added deallocate memory 2016-04-13 19:46:38 +03:00
Polshakov Dmitry
b111c509a7 fix(widget): Change focus after create group
Fix #3128.
2016-04-12 15:52:34 +03:00
sudden6
87c881edde
Merge pull request #3101
Jason Papakostas (2):
      feat: install icons with make install on unix
      fix(Widget::updateIcons): fix the way systray icons are loaded
2016-04-11 19:00:21 +02:00
Diadlo
47d940455d fix(title): Change title on initial startup on "Add friend"
Fixes #3100.
2016-04-10 14:08:09 +03:00
Jason Papakostas
90874a478f fix(Widget::updateIcons): fix the way systray icons are loaded
the system tray should no longer use a static icon when the xdg
application icons are named qtox.{png,svg}

this means the workaround https://bugs.archlinux.org/task/47910 done
downstream at arch linux shouldn't be necessary anymore.
related discussion in #2903
2016-04-05 09:54:59 -05:00
sudden6
631c37aef1
Merge pull request #2839
apprb (4):
      Groupchats: fix user list update
      Grouplist: tracking of the friend's alias changing (fix: #1847)
      Fix #2600: Missing username in group chat
      Check for empty username in a groupchat
2016-03-26 12:48:17 +01:00
sudden6
78551e970e
Merge pull request #2978
sudden6 (12):
      Revert "Revert changes from merge of  #2092 pull request"
      port groupinvitform to new ui
      fix segfaults
      adapt groupinviteform to existing conventions
      Fix notification opening wrong form
      notify on friendrequest and groupchat invite
      fix layout of friendrequest form
      fix segfault when logging out and in again
      reject multiple friend requests from one person     makes https://github.com/TheSpiritXIII/qTox/commit/
      fix wrong text on button
      fix friend request notification if friendrequestform is hidden
      fix notification if friendrequest tab is visible, don't display     friendrequests with html
2016-03-24 20:37:35 +01:00
sudden6
69424c63be
update friend activity on groupchat events
fixes #2848
2016-03-22 14:25:32 +01:00
Binayak Ghosh
54fabb964c fixes issue #2868 2016-02-28 17:23:15 +05:30
sudden6
c4c0740cc4 reject multiple friend requests from one person
makes https://github.com/TheSpiritXIII/qTox/commit/
2016-02-25 16:46:40 +01:00
sudden6
db4de96bcf notify on friendrequest and groupchat invite 2016-02-25 14:16:26 +01:00
sudden6
61f887b510 Fix notification opening wrong form 2016-02-22 00:42:48 +01:00
sudden6
63326afe04 adapt groupinviteform to existing conventions 2016-02-22 00:29:12 +01:00
sudden6
44ea20f921 port groupinvitform to new ui 2016-02-21 00:45:18 +01:00
sudden6
a89b673b40 Revert "Revert changes from merge of #2092 pull request"
This reverts commit 06611d618e.
2016-02-20 22:32:57 +01:00
apprb
c43b38e66f
Check for empty username in a groupchat 2016-01-23 09:29:43 +06:00
apprb
23a82a3b28
Groupchats: fix user list update 2016-01-22 23:43:39 +06:00
tux3
8253e1e395
Fix #1409: Don't save core if nothing really changed 2016-01-21 08:04:46 +01:00
a68366
65421e8992 Fix a typo in function name 2016-01-18 16:50:11 +03:00
tux3
d07bef21a3
Merge branch 'pr2769' 2016-01-16 15:44:51 +01:00
agilob
203274f6d1
Unify window icons 2016-01-16 14:31:34 +00:00
tux3
c576a1485a
Scan-build cleanup 2016-01-16 02:24:13 +01:00
agilob
f7118071b7
Set window icons on settings window 2016-01-03 13:06:24 +00:00
agilob
cb43a9b70e
Remove ctrl+q from tray menu 2016-01-02 22:01:41 +00:00
Andrew Novikov
371900b56f
Fix for the issue #2458 2016-01-02 21:59:38 +00:00
tux3
f2ba03b45f
Fix some messages being saved with history disabled 2015-12-31 14:36:12 +01:00
Nils Fenner
67fbee8868
use qstring for path when playing audio file 2015-12-20 09:45:43 +01:00
tux3
b5cdfb3dce
Implement new SQLCipher based database and history
qTox will automatically import the old history on startup.

This new database code is much more robust.
It is very resilient and will not corrupt or disappear after a crash or
power failure, unlike the old code.
The on-disk database format is also much more compact now.

The database sync option in the advanced settings has been removed,
we know run many database operations asynchronously so performance
should not be a problem anymore, but we always ensure resiliency
in case of abrupt termination, so there is no tradeoff anymore.
2015-12-19 04:17:28 +01:00
tux3
db2dbf459b
Merge branch 'pr2689' 2015-12-15 19:54:10 +01:00
tux3
0c2f70eb7e
Merge branch 'pr2688' 2015-12-15 19:48:29 +01:00
tux3
10673640ea
Fix #2408 2015-12-15 19:31:26 +01:00
rku
8231a2b1ae Support for theming qTox tray and window icons
This patch adds ability to override qTox window and tray icons with ones from user's desktop theme. Some people prefer keeping tray icons consistent to achieve best looks.

Following theme icons used:
* qtox: general window icon which is also used in taskbar
* qtox-online, qtox-offline, qtox-busy, qtox-away, qtox-invisible, qtox-event: tray icons

If theme icon is not available then default built-in icon will be used.
2015-12-15 19:42:23 +02:00
rku
5cb5f2e367 Focus current chat widget text input when window is activated or empty window space clicked. 2015-12-15 19:31:45 +02:00
rku
63f7dee6cf Blink taskbar icon and window icon only when window is inactive. 2015-12-15 19:03:05 +02:00
tux3
f0f49e79f0
Merge branch 'pr2586' 2015-12-11 02:45:10 +01:00
tux3
d67e6c7449 Improve integrated update code to match the rest
We're doing updates over HTTP until we get a domain name and a cert, but
this is not at all an issue since updates are still signed and checked.
2015-12-10 18:46:07 +01:00
tux3
25ed3d4fba
Fix avatars for encrypted profiles
WARNING: Note that avatars for encrypted profiles are currently stored unencrypted!
2015-12-05 19:08:28 +01:00
sudden6
17e43d9835 treat x-cinnamon the same as gnome 2015-11-29 13:23:08 +01:00
Anatoliy Zinovyev
f2e39a1d1b Fix tray behavior with unity backend 2015-11-25 17:35:17 -05:00
Anatoliy Zinovyev
6bbca9341d Do not do anything when middle clicking on the tray 2015-11-25 12:11:31 -05:00
Anatoliy Zinovyev
fc462e82df Fix behavior when clicking on the tray icon 2015-11-21 20:51:43 -05:00
TheNain38
eb3ec79b20 Fix #2301 and use QStringLiteral for comparison 2015-11-10 20:20:07 +01:00
tux3
787865a23e
Show notifications even when busy 2015-11-09 23:27:00 +01:00
agilob
0b999e077e
Move logout tray menu action after profileForm initialization
fixes #2541
2015-11-09 18:48:00 +00:00