Changeset View
Changeset View
Standalone View
Standalone View
kate/katemainwindow.cpp
Show First 20 Lines • Show All 558 Lines • ▼ Show 20 Line(s) | |||||
559 | } | 559 | } | ||
560 | 560 | | |||
561 | void KateMainWindow::readOptions() | 561 | void KateMainWindow::readOptions() | ||
562 | { | 562 | { | ||
563 | KSharedConfig::Ptr config = KSharedConfig::openConfig(); | 563 | KSharedConfig::Ptr config = KSharedConfig::openConfig(); | ||
564 | 564 | | |||
565 | const KConfigGroup generalGroup(config, "General"); | 565 | const KConfigGroup generalGroup(config, "General"); | ||
566 | m_modNotification = generalGroup.readEntry("Modified Notification", false); | 566 | m_modNotification = generalGroup.readEntry("Modified Notification", false); | ||
567 | m_modCloseAfterLast = generalGroup.readEntry("Close After Last", false); | ||||
567 | KateApp::self()->documentManager()->setSaveMetaInfos(generalGroup.readEntry("Save Meta Infos", true)); | 568 | KateApp::self()->documentManager()->setSaveMetaInfos(generalGroup.readEntry("Save Meta Infos", true)); | ||
568 | KateApp::self()->documentManager()->setDaysMetaInfos(generalGroup.readEntry("Days Meta Infos", 30)); | 569 | KateApp::self()->documentManager()->setDaysMetaInfos(generalGroup.readEntry("Days Meta Infos", 30)); | ||
569 | 570 | | |||
570 | m_paShowPath->setChecked(generalGroup.readEntry("Show Full Path in Title", false)); | 571 | m_paShowPath->setChecked(generalGroup.readEntry("Show Full Path in Title", false)); | ||
571 | m_paShowStatusBar->setChecked(generalGroup.readEntry("Show Status Bar", true)); | 572 | m_paShowStatusBar->setChecked(generalGroup.readEntry("Show Status Bar", true)); | ||
572 | m_paShowMenuBar->setChecked(generalGroup.readEntry("Show Menu Bar", true)); | 573 | m_paShowMenuBar->setChecked(generalGroup.readEntry("Show Menu Bar", true)); | ||
573 | m_paShowTabBar->setChecked(generalGroup.readEntry("Show Tab Bar", true)); | 574 | m_paShowTabBar->setChecked(generalGroup.readEntry("Show Tab Bar", true)); | ||
574 | 575 | | |||
▲ Show 20 Lines • Show All 609 Lines • Show Last 20 Lines |