summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-02-16 22:11:22 (UTC)
committer zautrix <zautrix>2005-02-16 22:11:22 (UTC)
commitf33a37a0f7c9b37cfea1346ed373ce1c27c1d6ba (patch) (side-by-side diff)
tree1df7a4ee7f5292c04e515989ab0371a4f1bfa21b /korganizer
parent451b4de59893b5c0801a7bbb2f8cbe8e0266b324 (diff)
downloadkdepimpi-f33a37a0f7c9b37cfea1346ed373ce1c27c1d6ba.zip
kdepimpi-f33a37a0f7c9b37cfea1346ed373ce1c27c1d6ba.tar.gz
kdepimpi-f33a37a0f7c9b37cfea1346ed373ce1c27c1d6ba.tar.bz2
fixi
Diffstat (limited to 'korganizer') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koviewmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index e22f096..ac67b58 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -76,33 +76,33 @@ KOViewManager::KOViewManager( CalendarView *mainView ) :
KOViewManager::~KOViewManager()
{
}
KOrg::BaseView *KOViewManager::currentView()
{
return mCurrentView;
}
void KOViewManager::readSettings(KConfig *config)
{
config->setGroup("General");
QString view = config->readEntry("Current View");
if (view == "WhatsNext") showWhatsNextView();
else if (view == "Month") {
- if ( KOPrefs::instance()->mMonthViewWeek )
+ if ( !KOPrefs::instance()->mMonthViewWeek )
showMonthView();
else
showMonthViewWeek();
}
else if (view == "List") showListView();
else if (view == "Journal") showJournalView();
else if (view == "TimeSpan") showTimeSpanView();
else if (view == "Todo") showTodoView();
else {
config->setGroup( "Views" );
int dateCount = config->readNumEntry( "ShownDatesCount", 7 );
mCurrentAgendaView = dateCount;
showAgendaView();
mCurrentAgendaView = dateCount;
#ifdef DESKTOP_VERSION
QTimer::singleShot( 1000, mAgendaView, SLOT ( setInitStartHour() ) );