mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
Cleaup several qDebug calls and commented lines
This commit is contained in:
parent
a670889ffb
commit
aa1c9d88dd
3 changed files with 0 additions and 5 deletions
|
@ -204,15 +204,12 @@ QScriptValue WindowScriptingInterface::showBrowse(const QString& title, const QS
|
|||
}
|
||||
|
||||
QFileDialog fileDialog(Application::getInstance()->getWindow(), title, path, nameFilter);
|
||||
// fileDialog.setFileMode(QFileDialog::ExistingFile);
|
||||
fileDialog.setAcceptMode(acceptMode);
|
||||
qDebug() << "Opening!";
|
||||
QUrl fileUrl(directory);
|
||||
if (acceptMode == QFileDialog::AcceptSave) {
|
||||
fileDialog.setFileMode(QFileDialog::Directory);
|
||||
fileDialog.selectFile(fileUrl.fileName());
|
||||
// qDebug() << "Setting filename!";
|
||||
// fileDialog.setLabelText(QFileDialog::FileName, fileUrl.fileName());
|
||||
}
|
||||
if (fileDialog.exec()) {
|
||||
return QScriptValue(fileDialog.selectedFiles().first());
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#ifndef hifi_LocalModelsOverlay_h
|
||||
#define hifi_LocalModelsOverlay_h
|
||||
|
||||
// #include "models/ModelTree.h"
|
||||
#include "models/ModelTreeRenderer.h"
|
||||
|
||||
#include "Volume3DOverlay.h"
|
||||
|
|
|
@ -160,7 +160,6 @@ unsigned int Overlays::addOverlay(const QString& type, const QScriptValue& prope
|
|||
created = true;
|
||||
is3D = true;
|
||||
} else if (type == "localmodels") {
|
||||
qDebug() << "Making localmodels";
|
||||
thisOverlay = new LocalModelsOverlay(Application::getInstance()->getModelClipboardRenderer());
|
||||
thisOverlay->init(_parent);
|
||||
thisOverlay->setProperties(properties);
|
||||
|
|
Loading…
Reference in a new issue