Commit ef1e0dbc authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Introduce HideLibraries and deprecate HideKdeVersion

parent 889cf9ac
......@@ -95,7 +95,7 @@ QT_WARNING_POP
tabWidget->addTab(aboutWidget, i18nc("@title:tab", "About"));
// Library versions
if (!(opt & HideKdeVersion)) {
if (!(opt & HideLibraries)) {
QWidget *versionWidget = new QWidget(q);
QVBoxLayout *versionLayout = new QVBoxLayout;
QLabel *versionLabel = new QLabel(
......
......@@ -52,7 +52,18 @@ public:
enum Option {
NoOptions = 0x0, ///< No options, show the standard about dialog
HideTranslators = 0x1, ///< Don't show the translators tab
HideKdeVersion = 0x2 ///< Don't show the KDE version next to the application name and version
HideLibraries = 0x2, ///< Don't show the libraries tab @since 5.77
HideKdeVersion = HideLibraries /**<
* Before 5.13: Don't show the KDE Frameworks version next to the application name and version
*
* Since 5.13: Don't show the Qt and KDE Frameworks libraries in the versions tab
*
* Since 5.30 Don't show the Qt and KDE Frameworks libraries in the libraries tab
*
* Since 5.75 Don't show the libraries tab
*
* @deprecated Since 5.77, use @c HideLibraries instead.
*/
};
/**
* Stores a combination of #Option values.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment