Commit cf20bccf authored by Boudewijn Rempt's avatar Boudewijn Rempt

make placeholder text conditional on the Qt version

We still support Qt 4.6... And that doesn't have the placeholder text
attribute.
parent 8d9caf07
......@@ -50,6 +50,9 @@ CompositionDockerDock::CompositionDockerDock( ) : QDockWidget(i18n("Compositions
connect( deleteButton, SIGNAL(clicked(bool)), this, SLOT(deleteClicked()));
connect( saveButton, SIGNAL(clicked(bool)), this, SLOT(saveClicked()));
#if QT_VERSION >= 0x040700
saveNameEdit->setPlaceholderText(i18n("Insert Name"));
#endif
}
CompositionDockerDock::~CompositionDockerDock()
......
......@@ -30,9 +30,6 @@
</item>
<item row="1" column="0">
<widget class="KLineEdit" name="saveNameEdit">
<property name="placeholderText">
<string>Insert Name</string>
</property>
</widget>
</item>
</layout>
......
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