summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-04-06 14:17:54 (UTC)
committer zautrix <zautrix>2005-04-06 14:17:54 (UTC)
commit76e220bf1236ae6afa9d91f18f0cd9ced730cff0 (patch) (side-by-side diff)
treeb34390ceb3f4d55aa5430c2cf0019c344d3293a3 /korganizer
parent03c5656deeec67eefcefb4faa1bfc9a9bc3254ef (diff)
downloadkdepimpi-76e220bf1236ae6afa9d91f18f0cd9ced730cff0.zip
kdepimpi-76e220bf1236ae6afa9d91f18f0cd9ced730cff0.tar.gz
kdepimpi-76e220bf1236ae6afa9d91f18f0cd9ced730cff0.tar.bz2
version and one focus fix
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 00ef145..8512a07 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -215,49 +215,49 @@ CalendarView::CalendarView( CalendarResources *calendar,
mResourceManager( calendar->resourceManager() )
{
mEventEditor = 0;
mTodoEditor = 0;
init();
}
CalendarView::CalendarView( Calendar *calendar,
QWidget *parent, const char *name )
: CalendarViewBase( parent, name ),
mCalendar( calendar ),
mResourceManager( 0 )
{
mEventEditor = 0;
mTodoEditor = 0;
init();
}
void CalendarView::init()
{
mNextAlarmDateTime = QDateTime::currentDateTime();
- setFocusPolicy ( WheelFocus );
+ setFocusPolicy ( NoFocus );
mViewerCallerIsSearchDialog = false;
mBlockShowDates = false;
beamDialog = new KOBeamPrefs();
mDatePickerMode = 0;
mCurrentSyncDevice = "";
writeLocale();
mViewManager = new KOViewManager( this );
mDialogManager = new KODialogManager( this );
mEventViewerDialog = 0;
mModified = false;
mReadOnly = false;
mSelectedIncidence = 0;
mCalPrinter = 0;
mFilters.setAutoDelete(true);
mCalendar->registerObserver( this );
// TODO: Make sure that view is updated, when calendar is changed.
mStorage = new FileStorage( mCalendar );
mNavigator = new DateNavigator( this, "datevav", mViewManager );
QBoxLayout *topLayout = (QBoxLayout*)layout();
#ifndef KORG_NOSPLITTER
// create the main layout frames.