summaryrefslogtreecommitdiff
path: root/src/browsermainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-21 23:28:11 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-21 23:28:11 +0100
commitcb8ae84a4e2b0c9fa0f1ea8b49401a64f8779fbc (patch)
tree5c28ae87be4c2ad6fc77b82e76489665768d922a /src/browsermainwindow.cpp
parentlittle updates.. (diff)
downloadrekonq-cb8ae84a4e2b0c9fa0f1ea8b49401a64f8779fbc.tar.xz
Polishing code a bit..
Diffstat (limited to 'src/browsermainwindow.cpp')
-rw-r--r--src/browsermainwindow.cpp11
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;
}