Commit Graph

11 Commits

Author SHA1 Message Date
Davide Beatrici
eea435d780 Remove Qt::escape() -> QString::toHtmlEscaped() compatibility layer
https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5#Qt::escape_is_deprecated
2019-10-10 03:09:39 +02:00
Davide Beatrici
15831dbca8 Add missing includes for "no-pch" build
This commit adds all the missing includes when the PCH header is not used.

Also, some includes are reordered and/or made consistent (e.g. "#include <QtEndian>" -> "#include <QtCore/QtEndian>").
2019-09-12 22:08:39 +02:00
Davide Beatrici
5a07244a44 Don't include PCH headers directly
According to Qt's documentation the PCH header doesn't need to be included.

From https://doc.qt.io/qt-5/qmake-precompiledheaders.html:

"To make your project use precompiled headers, you only need to define the PRECOMPILED_HEADER variable in your project file."

"qmake will handle the rest, to ensure the creation and use of the precompiled header file. You do not need to include the precompiled header file in HEADERS, as qmake will do this if the configuration supports precompiled headers."
2019-09-12 00:13:35 +02:00
Davide Beatrici
08ef8ac59b Update copyright years in about dialogs for Mumble and Murmur 2019-01-25 04:56:19 +01:00
Davide Beatrici
b427333257 Auto-update LICENSE.header in source files 2019-01-25 04:56:19 +01:00
Mikkel Krautz
acb43a24c8 Update copyright years in about dialogs for Mumble and Murmur. 2018-01-01 23:10:54 +01:00
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
Mikkel Krautz
845e516aa8 Murmur: use title-case for 'Third-Party Licenses' text in About dialog. 2017-03-12 12:14:30 +01:00
Mikkel Krautz
91ebb8b0b5 Update tree copyrights to 2017. 2017-01-08 21:05:57 +01:00
Mikkel Krautz
e96f81ae59 Murmur: Add AboutDialogOptions flag to the AboutDialog class.
This flag allows users of AboutDialog to determine which
tab of the about dialog (About, License, Authors,
Third-party Licenses) should be active when the dialog
is first shown.

This is needed for the license command-line flags on Windows,
where qFatal() output is shown via Windows's ShowMessageDialog.
Unfortunately, both the AUTHORS file and the combined
third-party license text are too big to display in a regular
dialog.

To avoid this, we'll show the AboutDialog when --license,
--authors and --third-party-licenses are passed to Murmur
on Windows.

This commit only implements the AboutDialog-related changes
necessary to implement this.
2016-11-24 00:27:32 +01:00
Mikkel Krautz
821d547d19 Add About dialog to Murmur. 2016-11-24 00:27:32 +01:00