Fixes an issue where qtox refused to load profiles while using
the -p switch on the command line. This happened in cases where
there was no .ini file for the specified profile present.
Doesn't seem to be used by anything, removal doesn't seem to cause any
changes.
The only file in `~/.config/tox/` that has ~similar content to it that I
have is named `windowSettings.ini`, has in it different values, and last
time that it was modified was 2014-07-31.
File was introduced in b394372ad0, and was
not modified since.
Introduced in 857dfbcd4c
Regression was due to fact that QPushButton allows icon to overflow.
This patch does:
1. Scale and crop icon to fit into button.
2. Avoid upscaling small images.
3. Refactor FileTransferWidget::showPreview() to load image from file
only once.
Closes#3042
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.
Diadlo (12):
feat(toxme): Add ToxMe registration
fix(toxme): Translation fixs
fix(profileform): Fix tab order, fix loop
fix(toxme): Use format strings
feat(profileform): Added ability to change toxme server
feat(toxme): Add save toxme info
fix(toxme): Fix possible segfault
fix(toxme): Fixed potential memory leaks
fix(profileform): Fixed segfault on logut
fix(profileform): Fixed very quick relogin segfault
fix(toxme): Delete extra check
refactor(toxme): Deleted old debug messages
Polshakov Dmitry (4):
fix(profileform): Deleted extra check and extra url
fix(profileform): Add toxme username limitation
style(profileform): Changed local include brackets type
refactor(profileform): Small changes
Diadlo (4):
fix(groupinviteform): remove deleted buttons from set
style(groupinviteform): extracted few variables
fix(groupinviteform): translation invite message
refactor(groupinviteform): Deleting made clearer
E.g. links like "file://192.168.1.1/" and "smb://localnode/" are now
supported. Before only links to local files were supported, e.g.
"file:///local/file.txt"