mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
kio: replace KPreviewPropsPlugin::createLayout() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3fe84d2508
commit
f933086926
2 changed files with 0 additions and 5 deletions
|
@ -32,11 +32,7 @@ KPreviewPropsPlugin::KPreviewPropsPlugin(KPropertiesDialog *props)
|
||||||
if (properties->items().count() > 1) {
|
if (properties->items().count() > 1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
createLayout();
|
|
||||||
}
|
|
||||||
|
|
||||||
void KPreviewPropsPlugin::createLayout()
|
|
||||||
{
|
|
||||||
// let the dialog create the page frame
|
// let the dialog create the page frame
|
||||||
QFrame* topframe = new QFrame();
|
QFrame* topframe = new QFrame();
|
||||||
properties->addPage(topframe, i18n("P&review"));
|
properties->addPage(topframe, i18n("P&review"));
|
||||||
|
|
|
@ -44,7 +44,6 @@ private Q_SLOTS:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
KImageFilePreview* preview;
|
KImageFilePreview* preview;
|
||||||
void createLayout();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // KPREVIEWPROPS_H
|
#endif // KPREVIEWPROPS_H
|
||||||
|
|
Loading…
Add table
Reference in a new issue