compile fixes + update in pref dialog

QtView.C: typo in include
      QPrefsDialog.C: update after changing color
      QPrefsDialog.h: default parent in constructor



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13580 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2006-04-07 12:01:11 +00:00
parent 81a3abd0cd
commit bfce1347ad
3 changed files with 3 additions and 3 deletions

View File

@ -996,7 +996,7 @@ void QPrefsDialog::change_color()
QColor c(QColorDialog::getColor(ci->color(), qApp->focusWidget() ? qApp->focusWidget() : qApp->mainWidget()));
if (c.isValid()) {
ci->color(c);
lb->triggerUpdate(false);
lb->triggerUpdate(true);
change_adaptor();
}
}

View File

@ -47,7 +47,7 @@ template<class UI>
class UiWidget: public QWidget, public UI
{
public:
UiWidget(QWidget * Parent): QWidget(Parent)
UiWidget(QWidget * Parent = 0): QWidget(Parent)
{
UI::setupUi(this);
}

View File

@ -14,7 +14,7 @@
#include "BufferView.h"
#include "lyx_cb.h"
#include "lyx_rc.h"
#include "lyxrc.h"
#include "lyx_main.h"
#include "session.h"
#include "lyxfunc.h"