mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2025-09-15 21:21:41 +02:00
change year to 2019
This commit is contained in:
parent
f9afa5e0aa
commit
394139a147
10 changed files with 13 additions and 23 deletions
|
@ -1,6 +1,6 @@
|
|||
/*****************************************************************************
|
||||
* luaEngine Lua Engine for Qt
|
||||
* Copyright (C) 2018 Syping
|
||||
* Copyright (C) 2018-2019 Syping
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -147,7 +147,7 @@ int LuaEngineGui::showFileDialog(lua_State *L_p)
|
|||
QString dialogTitle = "LuaEngine";
|
||||
QString fileFormats = "All files (*)";
|
||||
QFileDialog::FileMode fileMode = QFileDialog::ExistingFile;
|
||||
QFileDialog::Options fileOptions = QFileDialog::DontUseNativeDialog;
|
||||
QFileDialog::Options fileOptions;
|
||||
QFileDialog::AcceptMode fileAcceptMode = QFileDialog::AcceptOpen;
|
||||
if (getArgumentCount(L_p) >= 1) {
|
||||
switch (getVariant(L_p, 1).toInt()) {
|
||||
|
@ -157,7 +157,7 @@ int LuaEngineGui::showFileDialog(lua_State *L_p)
|
|||
break;
|
||||
case 2:
|
||||
fileMode = QFileDialog::Directory;
|
||||
fileOptions = QFileDialog::ShowDirsOnly | QFileDialog::DontUseNativeDialog;
|
||||
fileOptions = QFileDialog::ShowDirsOnly;
|
||||
break;
|
||||
}
|
||||
if (getArgumentCount(L_p) >= 2) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*****************************************************************************
|
||||
* luaEngine Lua Engine for Qt
|
||||
* Copyright (C) 2018 Syping
|
||||
* Copyright (C) 2018-2019 Syping
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*****************************************************************************
|
||||
* luaEngine Lua Engine for Qt
|
||||
* Copyright (C) 2018 Syping
|
||||
* Copyright (C) 2018-2019 Syping
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#/*****************************************************************************
|
||||
#* luaEngine Lua Engine for Qt
|
||||
#* Copyright (C) 2018 Syping
|
||||
#* Copyright (C) 2018-2019 Syping
|
||||
#*
|
||||
#* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
#* you may not use this file except in compliance with the License.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue