Changeset View
Changeset View
Standalone View
Standalone View
app/mainwindow.cpp
Show First 20 Lines • Show All 743 Lines • ▼ Show 20 Line(s) | 743 | { | |||
---|---|---|---|---|---|
744 | KNotifyConfigWidget::configure(this); | 744 | KNotifyConfigWidget::configure(this); | ||
745 | } | 745 | } | ||
746 | 746 | | |||
747 | void MainWindow::configureApp() | 747 | void MainWindow::configureApp() | ||
748 | { | 748 | { | ||
749 | if (KConfigDialog::showDialog(QStringLiteral("settings"))) return; | 749 | if (KConfigDialog::showDialog(QStringLiteral("settings"))) return; | ||
750 | 750 | | |||
751 | KConfigDialog* settingsDialog = new KConfigDialog(this, QStringLiteral("settings"), Settings::self()); | 751 | KConfigDialog* settingsDialog = new KConfigDialog(this, QStringLiteral("settings"), Settings::self()); | ||
752 | settingsDialog->setMinimumHeight(560); | ||||
752 | settingsDialog->setFaceType(KPageDialog::List); | 753 | settingsDialog->setFaceType(KPageDialog::List); | ||
753 | connect(settingsDialog, &KConfigDialog::settingsChanged, this, &MainWindow::applySettings); | 754 | connect(settingsDialog, &KConfigDialog::settingsChanged, this, &MainWindow::applySettings); | ||
754 | 755 | | |||
755 | WindowSettings* windowSettings = new WindowSettings(settingsDialog); | 756 | WindowSettings* windowSettings = new WindowSettings(settingsDialog); | ||
756 | settingsDialog->addPage(windowSettings, xi18nc("@title Preferences page name", "Window"), QStringLiteral("preferences-system-windows-move")); | 757 | settingsDialog->addPage(windowSettings, xi18nc("@title Preferences page name", "Window"), QStringLiteral("preferences-system-windows-move")); | ||
757 | connect(windowSettings, SIGNAL(updateWindowGeometry(int,int,int)), | 758 | connect(windowSettings, SIGNAL(updateWindowGeometry(int,int,int)), | ||
758 | this, SLOT(setWindowGeometry(int,int,int))); | 759 | this, SLOT(setWindowGeometry(int,int,int))); | ||
759 | 760 | | |||
▲ Show 20 Lines • Show All 785 Lines • Show Last 20 Lines |