Commit b7588b4b authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Show the window maximized when the user opens the program for the very first time

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=369730
parent 3ff4415c
......@@ -54,6 +54,7 @@ More items (first items will enter 'In progress list' first):
-> incremental zoom with fast-refresh (tested but flickering!) or contour tracing
Done (newest feature comes firts):
-> ADD: Show the window maximized when the user opens the program for the very first time (Albert)
-> ADD: Use 'Generators' as providers for contents generation.
-> ADD: Add properties dialog (Albert)
-> ADD: Support for show/hide menubar in rmb menu, different from HEAD so that supports Konqueror too (Albert)
......
......@@ -34,6 +34,7 @@
#include <kpopupmenu.h>
#include <kparts/componentfactory.h>
#include <kio/netaccess.h>
#include <kmainwindowiface.h>
#include <qcursor.h>
......@@ -77,6 +78,11 @@ Shell::Shell()
connect( this, SIGNAL( saveDocumentRestoreInfo(KConfig*) ), m_part, SLOT( saveDocumentRestoreInfo(KConfig*)));
readSettings();
if (!KGlobal::config()->hasGroup("MainWindow"))
{
KMainWindowInterface kmwi(this);
kmwi.maximize();
}
}
Shell::~Shell()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment