[Marble-commits] KDE/kdeedu/marble/src/lib/routing
Dennis Nienhüser
earthwings at gentoo.org
Tue Nov 9 21:17:01 CET 2010
SVN commit 1194764 by nienhueser:
Use a placeholder text to indicate possible input
M +3 -1 RoutingInputWidget.cpp
--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingInputWidget.cpp #1194763:1194764
@@ -105,7 +105,9 @@
RoutingInputLineEdit::RoutingInputLineEdit( QWidget *parent ) : RoutingLineEdit( parent )
{
- // nothing to do
+#if QT_VERSION >= 0x40700
+ setPlaceholderText( "Address or search term..." );
+#endif
}
void RoutingInputLineEdit::keyPressEvent(QKeyEvent *event)
More information about the Marble-commits
mailing list