mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 22:41:09 +00:00
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14739 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4b2eb61391
commit
cb05434d79
@ -165,7 +165,7 @@ void QBranches::on_colorPB_clicked()
|
||||
return;
|
||||
|
||||
QColor const initial = rgb2qcolor(branch->getColor());
|
||||
QColor ncol(QColorDialog::getColor(initial, qApp->focusWidget() ? qApp->focusWidget() : qApp->mainWidget()));
|
||||
QColor ncol(QColorDialog::getColor(initial, qApp->focusWidget()));
|
||||
if (ncol.isValid()){
|
||||
// add the color to the branchlist
|
||||
branch->setColor(fromqstr(ncol.name()));
|
||||
|
Loading…
Reference in New Issue
Block a user