-rw-r--r-- | noncore/net/wellenreiter/gui/scanlist.cpp | 7 |
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 @@ -21,8 +21,9 @@ #include <qcursor.h> #include <qdatetime.h> #include <qtextstream.h> #include <qpopupmenu.h> +#include <qcheckbox.h> #ifdef QWS #include <qpe/qpeapplication.h> #include <opie/odevice.h> @@ -468,8 +469,14 @@ void MScanListItem::decorateItem( QString type, QString essid, QString macaddr, _macaddr = macaddr; _channel = channel; _beacons = 1; _signal = 0; + + if ( WellenreiterConfigWindow::instance()->openTree->isChecked() ) + { + listView()->ensureItemVisible( this ); + } + } void MScanListItem::setManufacturer( const QString& manufacturer ) |