mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-03 22:54:31 +00:00
Show the window maximized when the user opens the program for the very first time
svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=369730
This commit is contained in:
parent
3ff4415c92
commit
b7588b4b33
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue