Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vimba
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kr69sugu
vimba
Commits
d59dc802
Commit
d59dc802
authored
1 year ago
by
am0ebe
Browse files
Options
Downloads
Patches
Plain Diff
find style.qss if app is called from different dir
parent
e91551c8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
obj/moc_predefs.h
+2
-2
2 additions, 2 deletions
obj/moc_predefs.h
recorder.sublime-project
+4
-0
4 additions, 0 deletions
recorder.sublime-project
src/main.cpp
+2
-2
2 additions, 2 deletions
src/main.cpp
with
8 additions
and
4 deletions
obj/moc_predefs.h
+
2
−
2
View file @
d59dc802
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
#define __FLT_MANT_DIG__ 24
#define __FLT_MANT_DIG__ 24
#define __LDBL_DECIMAL_DIG__ 21
#define __LDBL_DECIMAL_DIG__ 21
#define __VERSION__ "11.
3
.0"
#define __VERSION__ "11.
4
.0"
#define __UINT64_C(c) c ## UL
#define __UINT64_C(c) c ## UL
#define __cpp_unicode_characters 201411L
#define __cpp_unicode_characters 201411L
#define _STDC_PREDEF_H 1
#define _STDC_PREDEF_H 1
...
@@ -408,7 +408,7 @@
...
@@ -408,7 +408,7 @@
#define __DEC128_MAX_EXP__ 6145
#define __DEC128_MAX_EXP__ 6145
#define __FLT32X_HAS_QUIET_NAN__ 1
#define __FLT32X_HAS_QUIET_NAN__ 1
#define __ATOMIC_CONSUME 1
#define __ATOMIC_CONSUME 1
#define __GNUC_MINOR__
3
#define __GNUC_MINOR__
4
#define __GLIBCXX_TYPE_INT_N_0 __int128
#define __GLIBCXX_TYPE_INT_N_0 __int128
#define __INT_FAST16_WIDTH__ 64
#define __INT_FAST16_WIDTH__ 64
#define __UINTMAX_MAX__ 0xffffffffffffffffUL
#define __UINTMAX_MAX__ 0xffffffffffffffffUL
...
...
This diff is collapsed.
Click to expand it.
recorder.sublime-project
+
4
−
0
View file @
d59dc802
...
@@ -12,6 +12,10 @@
...
@@ -12,6 +12,10 @@
"path": "../dox",
"path": "../dox",
"name": "dox"
"name": "dox"
},
},
{
"path": "~/dox/idiv/camtron",
"name": "dox 2"
},
],
],
"build_systems":
"build_systems":
[
[
...
...
This diff is collapsed.
Click to expand it.
src/main.cpp
+
2
−
2
View file @
d59dc802
...
@@ -10,7 +10,7 @@ void loadStyleSheets(const QString& name, MainWindow& mw)
...
@@ -10,7 +10,7 @@ void loadStyleSheets(const QString& name, MainWindow& mw)
QFile
file
(
name
);
QFile
file
(
name
);
if
(
!
file
.
open
(
QIODevice
::
ReadOnly
|
QIODevice
::
Text
))
if
(
!
file
.
open
(
QIODevice
::
ReadOnly
|
QIODevice
::
Text
))
{
{
mw
.
log
(
"didn't find '"
+
name
+
"'
in "
+
QDir
::
currentPath
()
);
mw
.
log
(
"didn't find '"
+
name
+
"'
"
);
}
}
else
else
{
{
...
@@ -23,7 +23,7 @@ int main(int argc, char *argv[])
...
@@ -23,7 +23,7 @@ int main(int argc, char *argv[])
{
{
QApplication
a
(
argc
,
argv
);
QApplication
a
(
argc
,
argv
);
MainWindow
w
;
MainWindow
w
;
loadStyleSheets
(
"
style.qss"
,
w
);
loadStyleSheets
(
QCoreApplication
::
applicationDirPath
()
+
"/
style.qss"
,
w
);
w
.
show
();
w
.
show
();
return
a
.
exec
();
return
a
.
exec
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment