diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-21 23:28:11 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-21 23:28:11 +0100 |
commit | cb8ae84a4e2b0c9fa0f1ea8b49401a64f8779fbc (patch) | |
tree | 5c28ae87be4c2ad6fc77b82e76489665768d922a /src/browsermainwindow.cpp | |
parent | little updates.. (diff) | |
download | rekonq-cb8ae84a4e2b0c9fa0f1ea8b49401a64f8779fbc.tar.xz |
Polishing code a bit..
Diffstat (limited to 'src/browsermainwindow.cpp')
-rw-r--r-- | src/browsermainwindow.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/browsermainwindow.cpp b/src/browsermainwindow.cpp index a37037f7..9fa6b4f6 100644 --- a/src/browsermainwindow.cpp +++ b/src/browsermainwindow.cpp @@ -151,11 +151,7 @@ QByteArray BrowserMainWindow::saveState() const stream << KToolBar::toolBarsLocked(); bool b = true; // statusBar()->isVisible() ; FIXME stream << b; -// if (withTabs) -// // stream << tabWidget()->saveState(); -// ; -// else - stream << QByteArray(); + stream << QByteArray(); return data; } @@ -188,17 +184,12 @@ void BrowserMainWindow::restoreState(const QByteArray &state) stream >> size; stream >> toolbarsLocked; stream >> showStatusbar; -// stream >> tabState; resize(size); statusBar()->setVisible(showStatusbar); updateStatusbarActionText(showStatusbar); KToolBar::setToolBarsLocked ( toolbarsLocked ); -// if ( !tabWidget()->restoreState(tabState) ) -// { -// return false; -// } return; } |