fixed gcc compile
This commit is contained in:
@@ -157,6 +157,7 @@ void PreferencesDialog::delete_previews(PreviewDeleteTypes type) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NO_OCIO
|
||||
void PreferencesDialog::populate_ocio_menus(OCIO::ConstConfigRcPtr config)
|
||||
{
|
||||
// Get current display name (if the config is empty, get the current default display)
|
||||
@@ -228,6 +229,7 @@ void PreferencesDialog::update_ocio_config(const QString &s)
|
||||
} catch (OCIO::Exception& e) {}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void PreferencesDialog::setup_kbd_shortcuts(QMenuBar* menubar) {
|
||||
QList<QAction*> menus = menubar->actions();
|
||||
@@ -588,10 +590,12 @@ void PreferencesDialog::browse_ocio_config()
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NO_OCIO
|
||||
void PreferencesDialog::update_ocio_view_menu()
|
||||
{
|
||||
update_ocio_view_menu(OCIO::GetCurrentConfig());
|
||||
}
|
||||
#endif
|
||||
|
||||
void PreferencesDialog::delete_all_previews() {
|
||||
if (QMessageBox::question(this,
|
||||
|
||||
@@ -76,9 +76,11 @@ private slots:
|
||||
void browse_ocio_config();
|
||||
|
||||
// OCIO function
|
||||
#ifndef NO_OCIO
|
||||
void update_ocio_view_menu();
|
||||
void update_ocio_view_menu(OCIO::ConstConfigRcPtr config);
|
||||
void update_ocio_config(const QString&);
|
||||
#endif
|
||||
|
||||
private:
|
||||
void setup_ui();
|
||||
@@ -102,7 +104,9 @@ private:
|
||||
*/
|
||||
void delete_previews(PreviewDeleteTypes type);
|
||||
|
||||
#ifndef NO_OCIO
|
||||
void populate_ocio_menus(OCIO::ConstConfigRcPtr config);
|
||||
#endif
|
||||
|
||||
QLineEdit* custom_css_fn;
|
||||
QLineEdit* imgSeqFormatEdit;
|
||||
|
||||
Reference in New Issue
Block a user