Permalink
Browse files

get rid of some deprecation warnings

getPaths --> openPanel
prefer Dialog over QDialog

Signed-off-by:  <st9fan@gmail.com>
  • Loading branch information...
nuss committed Jan 11, 2014
1 parent 508b8b8 commit feda11c73911b6b9371827dcb4dd19e7837404ca
Showing with 2 additions and 2 deletions.
  1. +2 −2 CVCenter/CVCenter.sc
View
@@ -1029,7 +1029,7 @@ CVCenter {
defaultName: "Setup",
successFunc: successFunc
)
- }, { QDialog.savePanel(successFunc) })
+ }, { Dialog.savePanel(successFunc) })
}, {
successFunc.(path);
});
@@ -1153,7 +1153,7 @@ CVCenter {
if(path.isNil, {
if(GUI.id === \qt, {
- QDialog.getPaths(successFunc, allowsMultiple: false);
+ Dialog.openPanel(successFunc);
}, {
File.openDialog(
prompt: "Please choose a setup",

0 comments on commit feda11c

Please sign in to comment.