void App::slotFileSaveAs() { QLCFixtureEditor* editor = NULL; editor = static_cast<QLCFixtureEditor*> (m_workspace->activeWindow()); if (editor && editor->saveAs()) { // Save the last path so that the next file dialog starts from there m_lastPath = editor->fileName(); } }