Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
3d1052f5
Commit
3d1052f5
authored
Oct 22, 2009
by
Max-Wilhelm Bruker
Browse files
path fix
parent
8a919e57
Changes
3
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/counter.cpp
View file @
3d1052f5
...
...
@@ -8,7 +8,6 @@ Counter::Counter(Player *_player, int _id, const QString &_name, QColor _color,
{
if
(
radius
>
Player
::
counterAreaWidth
/
2
)
radius
=
Player
::
counterAreaWidth
/
2
;
if
(
player
->
getLocal
())
{
menu
=
new
QMenu
(
name
);
aSet
=
new
QAction
(
this
);
...
...
cockatrice/src/main.cpp
View file @
3d1052f5
...
...
@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
{
// qInstallMsgHandler(myMessageOutput);
QApplication
app
(
argc
,
argv
);
app
.
addLibraryPath
(
"
plugins"
);
app
.
addLibraryPath
(
app
.
applicationDirPath
()
+
"/
plugins"
);
QTextCodec
::
setCodecForCStrings
(
QTextCodec
::
codecForName
(
"UTF-8"
));
QCoreApplication
::
setOrganizationName
(
"Cockatrice"
);
...
...
@@ -73,10 +73,8 @@ int main(int argc, char *argv[])
MainWindow
ui
(
&
translator
);
qDebug
(
"main(): MainWindow constructor finished"
);
//set Icon
QIcon
icon
(
"resources/icon.svg"
);
QIcon
icon
(
":/resources/icon.svg"
);
ui
.
setWindowIcon
(
icon
);
//
ui
.
show
();
qDebug
(
"main(): ui.show() finished"
);
...
...
oracle/src/window_main.cpp
View file @
3d1052f5
...
...
@@ -5,7 +5,7 @@
WindowMain
::
WindowMain
(
QWidget
*
parent
)
:
QMainWindow
(
parent
)
{
importer
=
new
OracleImporter
(
"../oracle"
,
this
);
importer
=
new
OracleImporter
(
qApp
->
applicationDirPath
()
+
"../oracle"
,
this
);
QVBoxLayout
*
checkboxLayout
=
new
QVBoxLayout
;
QList
<
SetToDownload
>
&
sets
=
importer
->
getSets
();
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment