mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix spaces to please Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21203 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
eab1d98ab4
commit
6981d14f80
@ -33,7 +33,7 @@ using lyx::toqstr;
|
||||
void ShortcutLineEdit::keyPressEvent(QKeyEvent * e)
|
||||
{
|
||||
int keyQt = e->key();
|
||||
switch(e->key()) {
|
||||
switch (e->key()) {
|
||||
case Qt::Key_AltGr: //or else we get unicode salad
|
||||
case Qt::Key_Shift:
|
||||
case Qt::Key_Control:
|
||||
@ -80,7 +80,7 @@ bool ShortcutLineEdit::event(QEvent* e)
|
||||
}
|
||||
|
||||
|
||||
QString const SearchLineEdit::hintMessage()
|
||||
QString const SearchLineEdit::hintMessage() const
|
||||
{
|
||||
return toqstr("Search ...");
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ public:
|
||||
ShortcutLineEdit(QWidget * parent) : QLineEdit(parent) {}
|
||||
protected Q_SLOTS:
|
||||
void keyPressEvent(QKeyEvent * e);
|
||||
bool event(QEvent* e);
|
||||
bool event(QEvent * e);
|
||||
};
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@ protected Q_SLOTS:
|
||||
class SearchLineEdit : public QLineEdit {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QString const hintMessage();
|
||||
QString const hintMessage() const;
|
||||
SearchLineEdit(QWidget * parent) : QLineEdit(parent) {}
|
||||
protected Q_SLOTS:
|
||||
void focusInEvent(QFocusEvent * e);
|
||||
|
Loading…
Reference in New Issue
Block a user