Add a little explanatory test to the folder selection dialog, otherwise users won't find this insanely useful feature.

svn path=/branches/kdepim/enterprise/kdepim/; revision=836392
wilder-work
Till Adam 18 years ago
parent 29adef22e9
commit 2b9252e9de
  1. 9
      kmfolderseldlg.cpp

@ -13,6 +13,7 @@
#include <qlayout.h>
#include <qtoolbutton.h>
#include <qlabel.h>
using namespace KMail;
@ -31,7 +32,9 @@ KMFolderSelDlg::KMFolderSelDlg( KMMainWidget * parent, const QString& caption,
QString preSelection = mUseGlobalSettings ?
GlobalSettings::self()->lastSelectedFolder() : QString::null;
mTreeView = new KMail::SimpleFolderTree( makeVBoxMainWidget(), ft,
QWidget * container = makeVBoxMainWidget();
new QLabel( i18n("You can start typing to filter the list of folders"), container );
mTreeView = new KMail::SimpleFolderTree( container, ft,
preSelection, mustBeReadWrite );
init();
}
@ -48,7 +51,9 @@ KMFolderSelDlg::KMFolderSelDlg( QWidget * parent, KMFolderTree * tree,
{
QString preSelection = mUseGlobalSettings ?
GlobalSettings::self()->lastSelectedFolder() : QString::null;
mTreeView = new KMail::SimpleFolderTree( makeVBoxMainWidget(), tree,
QWidget * container = makeVBoxMainWidget();
new QLabel( i18n("You can start typing to filter the list of folders"), container );
mTreeView = new KMail::SimpleFolderTree( container, tree,
preSelection, mustBeReadWrite );
init();
}

Loading…
Cancel
Save