summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 1331ce0..09a3e5d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -107,14 +107,17 @@ MainWindow::MainWindow(TQWidget *parent, const char *name)
m_baskets = new BNPView(this, "BNPViewApp", this, actionCollection(), bar);
setCentralWidget(m_baskets);
+ // Do not remove. This call to 'resize' prevents the appearance of annoying
+ // warning messages if basket is started without a basketrc config file
+ resize(450, 360);
+
setupActions();
statusBar()->show();
statusBar()->setSizeGripEnabled(true);
- setAutoSaveSettings(/*groupName=*/TQString::fromLatin1("MainWindow"), /*saveWindowSize=*//*FIXME:false:Why was it false??*/true);
+ setAutoSaveSettings(/*groupName=*/TQString::fromLatin1("MainWindow"),true);
-// m_actShowToolbar->setChecked( toolBar()->isShown() );
- m_actShowStatusbar->setChecked( statusBar()->isShown() );
+ m_actShowStatusbar->setChecked( statusBar()->isShown() );
connect( m_baskets, TQT_SIGNAL(setWindowCaption(const TQString &)), this, TQT_SLOT(setCaption(const TQString &)));
// InlineEditors::instance()->richTextToolBar();