mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-30 04:25:53 +00:00
don't give them an initial parent
svn path=/branches/work/kde4/playground/graphics/okular/; revision=551106
This commit is contained in:
parent
4045795de8
commit
0efdeb7d42
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ PropertiesDialog::PropertiesDialog(QWidget *parent, KPDFDocument *doc)
|
|||
setButtons( Ok );
|
||||
|
||||
// PROPERTIES
|
||||
QFrame *page = new QFrame( this );
|
||||
QFrame *page = new QFrame();
|
||||
addPage( page, i18n( "Properties" ) );
|
||||
QGridLayout *layout = new QGridLayout( page );
|
||||
layout->setMargin( marginHint() );
|
||||
|
@ -84,7 +84,7 @@ PropertiesDialog::PropertiesDialog(QWidget *parent, KPDFDocument *doc)
|
|||
const DocumentFonts * fonts = doc->documentFonts();
|
||||
if ( fonts ) {
|
||||
// create fonts tab and layout it
|
||||
QFrame *page2 = new QFrame( this );
|
||||
QFrame *page2 = new QFrame();
|
||||
addPage(page2, i18n("Fonts"));
|
||||
page2Layout = new QVBoxLayout(page2);
|
||||
page2Layout->setMargin(marginHint());
|
||||
|
|
Loading…
Reference in a new issue