mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
81a3abd0cd
commit
bfce1347ad
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user