return 0;
}
-
if (!m_resolutions) {
m_resolutions = new VideoResolutionModel(m_settings, this);
}
}
bool VideoSettings::isReady() const {
- return m_settings;
+ return m_settings != 0;
}
bool VideoSettings::setResolution(const QString& aspectRatio, const QString& resolution) {