]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FileDialog.cpp
Do not show master's errors if compiling child
[lyx.git] / src / frontends / qt4 / FileDialog.cpp
index 2b60fbf9510203b171a22373cf2ecc75d85c3c54..f1156348d4497349ea5fe8710c09f4cf7c0b6c1e 100644 (file)
@@ -35,7 +35,7 @@
  *
  * Therefore there is a tradeoff in enabling or disabling this (JMarc)
  */
-#if defined(Q_WS_MACX) || defined(Q_OS_WIN)
+#if defined(Q_OS_MAC) || defined(Q_OS_WIN)
 #define USE_NATIVE_FILEDIALOG 1
 #endif
 
@@ -93,7 +93,7 @@ FileDialog::Result FileDialog::save(QString const & path,
 
 #ifdef USE_NATIVE_FILEDIALOG
        QString const startsWith = makeAbsPath(suggested, path);
-       QString const name = 
+       QString const name =
                QFileDialog::getSaveFileName(qApp->focusWidget(),
                title_, startsWith, filters.join(";;"),
                selectedFilter, QFileDialog::DontConfirmOverwrite);