UI updates

- add import dialog
  this is more complex than I thought
- added scope exit
  grammar sugar
- main dialog is now linked to import dialog
- importer citra file path is fixed
- importer now reports maximum size
- file util is improved with GetDirectoryTreeSize
This commit is contained in:
zhupengfei
2019-08-28 23:02:30 +08:00
parent 7df0b63a1e
commit 8acfe9f304
13 changed files with 448 additions and 27 deletions
+6
View File
@@ -7,6 +7,9 @@ if (POLICY CMP0071)
endif()
add_executable(threeSD
import_dialog.cpp
import_dialog.h
import_dialog.ui
main.cpp
main.h
main.ui
@@ -47,6 +50,9 @@ target_compile_definitions(threeSD PRIVATE
# Disable implicit QString->QUrl conversions to enforce use of proper resolving functions.
-DQT_NO_URL_CAST_FROM_STRING
# Disable automatic conversions from 8-bit strings (char *) to unicode QStrings
-DQT_NO_CAST_FROM_ASCII
)
if (MSVC)