Commit dbaa7bcd authored by Boudewijn Rempt's avatar Boudewijn Rempt Committed by Wolthera van Hövell

Fix logic error...

I shouldn't code during a sprint, only afterwards
parent 71692523
......@@ -309,12 +309,9 @@ ColorSettingsTab::ColorSettingsTab(QWidget *parent, const char *name)
m_page->chkUseSystemMonitorProfile->setChecked(cfg.useSystemMonitorProfile());
connect(m_page->chkUseSystemMonitorProfile, SIGNAL(toggled(bool)), this, SLOT(toggleAllowMonitorProfileSelection(bool)));
// XXX: no color management integration on Windows or OSX yet
#ifndef HAVE_X11
if (KisColorManager::instance()->devices() > 0) {
if (KisColorManager::instance()->devices().size() > 0) {
m_page->chkUseSystemMonitorProfile->setVisible(false);
}
#endif
m_page->cmbWorkingColorSpace->setIDList(KoColorSpaceRegistry::instance()->listKeys());
m_page->cmbWorkingColorSpace->setCurrent(cfg.workingColorSpace());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment