History

migrate callers of QMessageBox::warning() to OffscreenUi::warning()

Brad Hefta-Gaub committed 10 years ago

Commit 927fe971 parent d98c2d111 files · +57 −26Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 11 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.cpp+1−1
@@ -188,7 +188,7 @@ void WindowScriptingInterface::chooseDirectory() { · 187 unmodified lines
188 }188 }
189 189
190 if (!validateAs.exactMatch(directory)) {190 if (!validateAs.exactMatch(directory)) {
191 QMessageBox::warning(NULL, "Invalid Directory", errorMessage);191 OffscreenUi::warning(NULL, "Invalid Directory", errorMessage);
192 return;192 return;
193 }193 }
194 194