git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@144 b624d157-de02-0410-bad0-e51aec6abb33
master
tarek_saidi 18 years ago
parent babeb3e057
commit 895e47554f
  1. 2
      src/mainwindow.cpp

@ -91,6 +91,7 @@ KeepassMainWindow::KeepassMainWindow(const QString& ArgFile,QWidget *parent, Qt:
setupIcons(); setupIcons();
setStateFileOpen(false); setStateFileOpen(false);
setupMenus(); setupMenus();
DetailView->setVisible(config->showEntryDetails());
StatusBarGeneral=new QLabel(tr("Ready"),statusBar()); StatusBarGeneral=new QLabel(tr("Ready"),statusBar());
StatusBarSelection=new QLabel(statusBar()); StatusBarSelection=new QLabel(statusBar());
statusBar()->addWidget(StatusBarGeneral,15); statusBar()->addWidget(StatusBarGeneral,15);
@ -219,6 +220,7 @@ void KeepassMainWindow::setupToolbar(){
QuickSearchEdit=new QLineEdit(toolBar); QuickSearchEdit=new QLineEdit(toolBar);
QuickSearchEdit->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed); QuickSearchEdit->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed);
toolBar->addWidget(QuickSearchEdit); toolBar->addWidget(QuickSearchEdit);
toolBar->setVisible(config->showToolbar());
} }
void KeepassMainWindow::setupIcons(){ void KeepassMainWindow::setupIcons(){