Summary: | kget downloads all files between two selected files | ||
---|---|---|---|
Product: | [Applications] kget | Reporter: | Dexter Magnific <dextermagnific> |
Component: | general | Assignee: | KGet authors <kget> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dexter Magnific
2007-03-16 15:01:58 UTC
To reproduce this bug, go for example to http://www.beryl-project.org/releases.php, select from konqueror List All Links, then type in the KGet search bar "0.2.0.tar.bz2" to download the latest version and select with shift the tarballs. You'll notice that kget will download the 0.2.0 version and also the 0.9999 versions. remove the search criteria without removing the selection and you'll see that non wanted tarballs are selected. This behaviour don't happen when selecting tarballs individually (with CTRL for example). SVN commit 648195 by uwolfer: Add the search line again in the new version. Requested by Coldpizza. CCMAIL: coldpizza.rockstation@gmail.com It closes also BUG: 143058 M +12 -3 kget_linkview.cpp --- trunk/KDE/kdenetwork/kget/extensions/konqueror/kget_linkview.cpp #648194:648195 @@ -19,12 +19,14 @@ #include <klocale.h> #include <kmessagebox.h> #include <ktoolbar.h> +#include <KTreeWidgetSearchLine> #include <QAction> #include <QPixmap> #include <QProcess> #include <QTreeWidget> #include <QtDBus> +#include <QVBoxLayout> KGetLinkView::KGetLinkView( QWidget *parent ) : KMainWindow( parent ) @@ -56,11 +58,18 @@ m_treeWidget->setRootIsDecorated(false); m_treeWidget->setSortingEnabled(true); m_treeWidget->setAllColumnsShowFocus(true); + m_treeWidget->setColumnWidth(0, 200); // make the filename column bigger by default - setCentralWidget(m_treeWidget); + KTreeWidgetSearchLine *searchLine = new KTreeWidgetSearchLine(this, m_treeWidget); - // setting a fixed (not floating) toolbar - toolBar()->setMovable(false); + QVBoxLayout *mainLayout = new QVBoxLayout; + mainLayout->addWidget(searchLine); + mainLayout->addWidget(m_treeWidget); + + QWidget *mainWidget = new QWidget(this); + mainWidget->setLayout(mainLayout); + setCentralWidget(mainWidget); + // setting Text next to Icons toolBar()->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); |