Revert commit 191fc15b9f to use closeEvent()
but without QEvent::ignore() which blocked logout on various Linux desktops,
and without redundant hide(). Previous fix with hideEvent() produced
regressions because hide() is used in various places, which produced closing
behavior.
Since qApp->setQuitOnLastWindowClosed(false) is used, and
Qt::WA_DeleteOnClose is *NOT* used, default closeEvent() handling is enough
for implementing close-to-systray feature.
Improves fix for #1485 and closes#3699
This adds support for multi-byte builds. Users building qTox in
multi-byte instead of unicode mode would otherwise get compiler errors.
This is one step in the direction of making qTox a library with the UI
being just one application of it: it gives library users a choice of how
they build it.
Change closeEvent() to hideEvent() for handling main window closing.
Close event is no longer ignored, which prevented logging out from
various Linux desktop environments.
Closes#1485
In cmake builds, `__FILE__` is the absolute file path. In qmake, it's a
relative path. For in-tree qmake builds, it would be `"src/..."`, for
out of tree, it could be `"../src/..."` or `"../qTox/src/..."` or any
other relative path depending on how qTox was built. This change
normalises them to paths based in src.
Enable jessie-backports repository for libsqlcipher-dev package
in Debian Jessie by creating qtox-backports.list file if
repository is not enabled yet.
Closes#3679
Fixed#3660. Removed using of GUI class in Profile Importer. Because, it
cannot be used before Nexus instance will be created. As result, it
provide crash in some cases.
Diadlo (12):
feat(settings): Extracted user interface settings on new tab
feat(settings): Added reset settings button
feat(settings): Deleted settings header
feat(settings): Added privacy block
feat(settings): Moved proxy to personal settings
refactor(proxy): Changed port type on unsigned int.
refactor(settings): Changed manual connects to auto-connections
refactor: Remove html tags from 'IMPORTANT NOTE'
fix(settings): Added loader for old settings
refactor: Remove html tags from author block
docs(settingsform): Added docs to settings forms
refactor: Fixed typo
Diadlo (5):
fix(videomode): Added ability to store negative coordinates
fix(avform): Added shift screen region
feat(avform): Added automatic screen rescan
feat(avform): Made warning and debug info more useful
refactor(avform): Changed combobox index checks on asserts