Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2018-06-19 18:18:17 +0300
committerMarkus Goetz <markus@woboq.com>2018-07-05 14:15:43 +0300
commitc7aca2d4a9fd7acf9a99e6a499b98a0db2110828 (patch)
treee88122fc891c36943cb8af3595bbacb05238cb2e /src/gui/generalsettings.cpp
parent64014dd374dc81cef24898b51830703a527e923f (diff)
Introduce an about dialog
Every proper application has that! For decreasing window height in #6075
Diffstat (limited to 'src/gui/generalsettings.cpp')
-rw-r--r--src/gui/generalsettings.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gui/generalsettings.cpp b/src/gui/generalsettings.cpp
index 1ec9aa735..b57a5931e 100644
--- a/src/gui/generalsettings.cpp
+++ b/src/gui/generalsettings.cpp
@@ -54,17 +54,6 @@ GeneralSettings::GeneralSettings(QWidget *parent)
_ui->autostartCheckBox->setChecked(Utility::hasLaunchOnStartup(Theme::instance()->appName()));
connect(_ui->autostartCheckBox, &QAbstractButton::toggled, this, &GeneralSettings::slotToggleLaunchOnStartup);
- // setup about section
- QString about = Theme::instance()->about();
- if (about.isEmpty()) {
- _ui->aboutGroupBox->hide();
- } else {
- _ui->aboutLabel->setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextBrowserInteraction);
- _ui->aboutLabel->setText("<qt><style> p{padding-bottom:0; margin-bottom:0;padding-top:2; margin-top: 2; font-size:smaller;};</style>"+about+"</qt>");
- _ui->aboutLabel->setWordWrap(true);
- _ui->aboutLabel->setOpenExternalLinks(true);
- }
-
loadMiscSettings();
slotUpdateInfo();