Mentions légales du service

Skip to content
Snippets Groups Projects

Resolve "Qt4 build failure"

Merged Johnny Jazeix requested to merge 14-qt4-build-failure into master
1 file
+ 2
8
Compare changes
  • Side-by-side
  • Inline
+ 2
8
@@ -307,14 +307,8 @@ Palette *Session::get_palette(const std::string &type, const std::string &palett
p = new Palette(string(type+"/"+palette_name));
*where_from = p;
#if defined(USE_QT5)
for(QMap<QString, QVariant>::const_iterator it = qmap.cbegin() ;
it != qmap.cend() ; ++ it)
#else
for(QMap<QString, QVariant>::const_iterator it = qmap.begin() ;
it != qmap.end() ; ++ it)
#endif
{
for(QMap<QString, QVariant>::const_iterator it = qmap.constBegin() ;
it != qmap.constEnd() ; ++ it) {
const QColor qc = it.value().value<QColor>();
Color c = Color(qc.red()/255., qc.green()/255., qc.blue()/255.);
p->add_state(it.key().toStdString(), c, qc.alpha()==255.);
Loading