Version: (using KDE KDE 3.1.93) Compiler: gcc3.2 OS: FreeBSD Problem Description: When in the 'remote-resource' configuration dialog, the browse button in "Download URL:" only selects a directory. But, when loading the calender, korganizer expects a path to a file, not a directory. To Reproduce: Click to 'Add...' resource. Select 'remote' resource. Click on the browse button on "Download URL:." Select a calendar file. The resulting text box for the label "Download URL:" will have the path to the directory where you selected the file, rather than a the path to the file. Now try to look at the calender, the following error will appear. "<some path> is a folder, but a file was expected." This problem might also exist for the "Upload URL:" label as well.
This makes the remote resource unusable.
Subject: kdepim/libkcal CVS commit by cschumac: Remote resource takes a filename, not a directory. CCMAIL: 67331-done@bugs.kde.org M +2 -2 resourceremoteconfig.cpp 1.5 --- kdepim/libkcal/resourceremoteconfig.cpp #1.4:1.5 @@ -49,5 +49,5 @@ ResourceRemoteConfig::ResourceRemoteConf mDownloadUrl = new KURLRequester( this ); - mDownloadUrl->setMode( KFile::Files ); + mDownloadUrl->setMode( KFile::File ); mainLayout->addWidget( label, 1, 0 ); mainLayout->addWidget( mDownloadUrl, 1, 1 ); @@ -56,5 +56,5 @@ ResourceRemoteConfig::ResourceRemoteConf label = new QLabel( i18n( "Upload URL:" ), this ); mUploadUrl = new KURLRequester( this ); - mUploadUrl->setMode( KFile::Files ); + mUploadUrl->setMode( KFile::File ); mainLayout->addWidget( label, 2, 0 ); mainLayout->addWidget( mUploadUrl, 2, 1 );