Commit 862a8c7a authored by Jan Möbius's avatar Jan Möbius

Fixed build warning

parent 9b2ecd30
......@@ -139,10 +139,6 @@ void MeshObjectSelectionPlugin::initializePlugin() {
// Create conversion dialog
if(!OpenFlipper::Options::nogui()) {
conversionDialog_ = new ConversionDialog(0);
QRect scr = QApplication::desktop()->screenGeometry();
conversionDialog_->setGeometry((int)scr.width()/2-(int)conversionDialog_->width()/2,
(int)scr.height()/2-(int)conversionDialog_->height()/2,
conversionDialog_->width(), conversionDialog_->height());
conversionDialog_->hide();
connect(conversionDialog_->convertButton, SIGNAL(clicked()), this, SLOT(conversionRequested()));
// Fill in combo boxes
......
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