mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
less deprecated
svn path=/trunk/playground/graphics/okular/; revision=552878
This commit is contained in:
parent
381149409a
commit
3ea724e75f
1 changed files with 3 additions and 2 deletions
|
@ -48,13 +48,13 @@
|
|||
using namespace okular;
|
||||
|
||||
Shell::Shell()
|
||||
: KParts::MainWindow(0, "okular::Shell"), m_menuBarWasShown(true), m_toolBarWasShown(true)
|
||||
: KParts::MainWindow(), m_menuBarWasShown(true), m_toolBarWasShown(true)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
Shell::Shell(const KUrl &url)
|
||||
: KParts::MainWindow(0, "okular::Shell"), m_menuBarWasShown(true), m_toolBarWasShown(true)
|
||||
: KParts::MainWindow(), m_menuBarWasShown(true), m_toolBarWasShown(true)
|
||||
{
|
||||
m_openUrl = url;
|
||||
init();
|
||||
|
@ -62,6 +62,7 @@ Shell::Shell(const KUrl &url)
|
|||
|
||||
void Shell::init()
|
||||
{
|
||||
setObjectName( QLatin1String( "okular::Shell" ) );
|
||||
// set the shell's ui resource file
|
||||
setXMLFile("shell.rc");
|
||||
m_fileformats=0L;
|
||||
|
|
Loading…
Reference in a new issue