summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-09-26 10:25:38 (UTC)
committer mickeyl <mickeyl>2003-09-26 10:25:38 (UTC)
commit0009e5f8bfb3050a7906bf03ce7b9870275496e6 (patch) (side-by-side diff)
tree197c61e4bb1eda153ca5bf9fa6986bffafaea137
parent11370952060598f7c79f9df70289f74ecc7693a1 (diff)
downloadopie-0009e5f8bfb3050a7906bf03ce7b9870275496e6.zip
opie-0009e5f8bfb3050a7906bf03ce7b9870275496e6.tar.gz
opie-0009e5f8bfb3050a7906bf03ce7b9870275496e6.tar.bz2
add automatic tree-opening if checked in config
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/scanlist.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlist.cpp b/noncore/net/wellenreiter/gui/scanlist.cpp
index d695c17..245290d 100644
--- a/noncore/net/wellenreiter/gui/scanlist.cpp
+++ b/noncore/net/wellenreiter/gui/scanlist.cpp
@@ -23,4 +23,5 @@
#include <qtextstream.h>
#include <qpopupmenu.h>
+#include <qcheckbox.h>
#ifdef QWS
@@ -470,4 +471,10 @@ void MScanListItem::decorateItem( QString type, QString essid, QString macaddr,
_beacons = 1;
_signal = 0;
+
+ if ( WellenreiterConfigWindow::instance()->openTree->isChecked() )
+ {
+ listView()->ensureItemVisible( this );
+ }
+
}