summaryrefslogtreecommitdiff
path: root/core
authormickeyl <mickeyl>2004-08-25 13:50:57 (UTC)
committer mickeyl <mickeyl>2004-08-25 13:50:57 (UTC)
commite71d630b32fc3ecd2213bd27742c3b7a9a943867 (patch) (side-by-side diff)
tree2312abbb7608db23b05861b71daed26ce1ba0073 /core
parenta4c678976a3e3fd5afec1a9595a1a80ed621a5e2 (diff)
downloadopie-e71d630b32fc3ecd2213bd27742c3b7a9a943867.zip
opie-e71d630b32fc3ecd2213bd27742c3b7a9a943867.tar.gz
opie-e71d630b32fc3ecd2213bd27742c3b7a9a943867.tar.bz2
fix #1401 and upgrade ChangeLog
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcherview.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index e86f389..0d0f2cb 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -637,50 +637,48 @@ LauncherView::~LauncherView()
(*bgCache)[bgName]->ref--;
}
void LauncherView::hideIcons()
{
icons->hide();
}
void LauncherView::setToolsEnabled(bool y)
{
if ( !y != !tools ) {
if ( y ) {
tools = new QHBox(this);
// Type filter
typemb = new QComboBox(tools);
QSizePolicy p = typemb->sizePolicy();
p.setHorData(QSizePolicy::Expanding);
typemb->setSizePolicy(p);
// Category filter
updateTools();
tools->show();
- // Always show vscrollbar
- icons->setVScrollBarMode( QScrollView::AlwaysOn );
} else {
delete tools;
tools = 0;
}
}
}
void LauncherView::updateTools()
{
disconnect( typemb, SIGNAL(activated(int)),
this, SLOT(showType(int)) );
if ( catmb ) disconnect( catmb, SIGNAL(signalSelected(int)),
this, SLOT(showCategory(int)) );
// ### I want to remove this
icons->updateCategoriesAndMimeTypes();
QString prev;
// Type filter
QStringList types;
typelist = icons->mimeTypes();
for (QStringList::ConstIterator it = typelist.begin(); it!=typelist.end(); ++it) {
QString t = *it;