Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kumir2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kumir
kumir2
Commits
4a999aa3
Commit
4a999aa3
authored
Aug 24, 2016
by
Victor Yacovlev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed extra X11 dependencies + Qt5 fixes
parent
d190860e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
2 deletions
+33
-2
scripts/gen_actor_source.py
scripts/gen_actor_source.py
+6
-0
src/actors/isometricrobot/robotmodel.cpp
src/actors/isometricrobot/robotmodel.cpp
+10
-0
src/actors/isometricrobot/robotmodel.h
src/actors/isometricrobot/robotmodel.h
+15
-0
src/app/main.cpp
src/app/main.cpp
+1
-1
src/plugins/kumircoderun/consolerun.cpp
src/plugins/kumircoderun/consolerun.cpp
+1
-1
No files found.
scripts/gen_actor_source.py
View file @
4a999aa3
...
...
@@ -922,6 +922,10 @@ class Gui:
if
"menus"
in
json_node
:
for
menu
in
json_node
[
"menus"
]:
self
.
menus
.
append
(
MenuItem
(
menu
))
if
"optional"
in
json_node
:
self
.
optional
=
json_node
[
"optional"
]
else
:
self
.
optional
=
False
def
get_icon_name
(
self
,
role
):
"""
...
...
@@ -1507,6 +1511,8 @@ private:
"""
if
self
.
_module
.
gui
:
guiRequired
=
"true"
if
self
.
_module
.
gui
.
optional
:
guiRequired
=
"false"
else
:
guiRequired
=
"false"
return
"""
...
...
src/actors/isometricrobot/robotmodel.cpp
0 → 100644
View file @
4a999aa3
#include "robotmodel.h"
namespace
Robot25D
{
RobotModel
::
RobotModel
()
{
}
}
// namespace Robot25D
src/actors/isometricrobot/robotmodel.h
0 → 100644
View file @
4a999aa3
#ifndef ROBOT25D_ROBOTMODEL_H
#define ROBOT25D_ROBOTMODEL_H
namespace
Robot25D
{
class
RobotModel
{
public:
RobotModel
();
};
}
// namespace Robot25D
#endif // ROBOT25D_ROBOTMODEL_H
\ No newline at end of file
src/app/main.cpp
View file @
4a999aa3
...
...
@@ -65,7 +65,7 @@ void ConsoleMessageOutput(QtMsgType type, const char *msg)
void
showErrorMessage
(
const
QString
&
text
)
{
bool
gui
=
true
;
#ifdef Q_
WS_X11
#ifdef Q_
OS_LINUX
gui
=
gui
&&
getenv
(
"DISPLAY"
)
!=
0
;
#endif
...
...
src/plugins/kumircoderun/consolerun.cpp
View file @
4a999aa3
...
...
@@ -87,7 +87,7 @@ ExternalModuleLoadFunctor::operator() (
}
bool
gui
=
true
;
#ifdef Q_
WS_X11
#ifdef Q_
OS_LINUX
gui
=
gui
&&
getenv
(
"DISPLAY"
)
!=
0
;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment