diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2011-04-07 13:47:02 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@nokia.com> | 2011-04-07 13:47:02 +1000 |
commit | ddfa415ae1d4656f1b1594c937b5260bfcec8940 (patch) | |
tree | 3bc26c1b021554b25e07796e0ac9bbbf45d5793e /examples/sysinfo/dialog.cpp | |
parent | 4d35e52f4d584427e6e7008d536dc841d50f16ae (diff) |
fix currentFlow on harmattan
from QmSystem remove/revert if/when QmSystem can be a dependency.
Task-number: QTMOBILITY-1496
Diffstat (limited to 'examples/sysinfo/dialog.cpp')
-rw-r--r-- | examples/sysinfo/dialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/sysinfo/dialog.cpp b/examples/sysinfo/dialog.cpp index 820de28aab..1be669414f 100644 --- a/examples/sysinfo/dialog.cpp +++ b/examples/sysinfo/dialog.cpp @@ -101,6 +101,9 @@ void Dialog::changeEvent(QEvent *e) void Dialog::tabChanged(int index) { + if (lastTab == 4 && index !=4) { + disconnect(bi,SIGNAL(currentFlowChanged(int)),0,0); + } switch(index) { case 0: setupGeneral(); @@ -140,6 +143,7 @@ void Dialog::tabChanged(int index) break; }; + lastTab = index; } void Dialog::setupGeneral() |