Commit 82cc716f authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Remove unnecessary build warning

spacingHint()/marginHint() just returned the defaults from QApplication
even in kdelibs (4), so this code was useless.

The direct port would look something like this:
parent 3a00f4e9
......@@ -135,9 +135,6 @@ PropertiesDialog::PropertiesDialog(QWidget *parent, Okular::Document *doc)
m_fontPage = addPage(page2, i18n("&Fonts"));
m_fontPage->setIcon( QIcon::fromTheme( QStringLiteral("preferences-desktop-font") ) );
page2Layout = new QVBoxLayout(page2);
#pragma message("KF5 fix margin/spacing")
// page2Layout->setMargin(marginHint());
// page2Layout->setSpacing(spacingHint());
// add a tree view
QTreeView *view = new QTreeView(page2);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment