diff widgets/PluginParameterDialog.cpp @ 545:be5c35d3f409

* solaris build fixes
author Chris Cannam
date Thu, 10 Sep 2009 18:44:45 +0000
parents 5f9a257598d8
children 1a0dfcbffaf1
line wrap: on
line diff
--- a/widgets/PluginParameterDialog.cpp	Tue Aug 18 11:01:57 2009 +0000
+++ b/widgets/PluginParameterDialog.cpp	Thu Sep 10 18:44:45 2009 +0000
@@ -423,7 +423,7 @@
             blockSizeCombo->addItem(QString("%1").arg(size));
             blockSizeCombo->setCurrentIndex(blockSizeCombo->count() - 1);
         }
-        blockSizeCombo->setValidator(new QIntValidator(1, int(pow(2, 18)), this));
+        blockSizeCombo->setValidator(new QIntValidator(1, int(pow(2., 18)), this));
         connect(blockSizeCombo, SIGNAL(editTextChanged(const QString &)),
                 this, SLOT(blockSizeComboChanged(const QString &)));
         windowLayout->addWidget(blockSizeCombo, 0, 1);
@@ -445,7 +445,7 @@
             incrementCombo->addItem(QString("%1").arg(increment));
             incrementCombo->setCurrentIndex(incrementCombo->count() - 1);
         }
-        incrementCombo->setValidator(new QIntValidator(1, int(pow(2, 18)), this));
+        incrementCombo->setValidator(new QIntValidator(1, int(pow(2., 18)), this));
         connect(incrementCombo, SIGNAL(editTextChanged(const QString &)),
                 this, SLOT(incrementComboChanged(const QString &)));
         windowLayout->addWidget(incrementCombo, 1, 1);