SVN commit 1112827 by danders: Add translateable tab title for printer dialog Page Layout tab. CCMAIL:kde-i18n-doc@kde.org M +2 -6 kptviewbase.cpp --- trunk/koffice/kplato/libs/ui/kptviewbase.cpp #1112826:1112827 @@ -31,7 +31,6 @@ #include #include #include -#include #include #include @@ -150,11 +149,8 @@ QWidget *PrintingDialog::createPageLayoutWidget() const { QWidget *widget = new QWidget(); - //FIXME change when allowed by i18n (also #include) - //widget->setWindowTitle( i18nc( "@title:tab", "Page Layout" ) ); - KoPageLayoutDialog dummy( 0, m_view->pageLayout() ); - widget->setWindowTitle( dummy.windowTitle() ); - + widget->setWindowTitle( i18nc( "@title:tab", "Page Layout" ) ); + QHBoxLayout *lay = new QHBoxLayout(widget); lay->setMargin(0); widget->setLayout(lay);