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
963e8f0d
Commit
963e8f0d
authored
Sep 30, 2011
by
Max-Wilhelm Bruker
Browse files
Merge branch 'experimental' of
git://cockatrice.git.sourceforge.net/gitroot/cockatrice/cockatrice
parents
4bdb9e1d
c5bde615
Changes
5
Show whitespace changes
Inline
Side-by-side
cockatrice/cockatrice.pro
View file @
963e8f0d
TEMPLATE
=
app
TARGET
=
TARGET
=
cockatrice
DEPENDPATH
+=
.
src
..
/
common
INCLUDEPATH
+=
.
src
..
/
common
MOC_DIR
=
build
...
...
@@ -202,6 +202,6 @@ win32 {
}
macx
{
ICON
=
resources
/
appicon
.
icns
CONFIG
+=
x86
ppc
CONFIG
+=
x86
_64
release
LIBS
+=
-
bind_at_load
}
cockatrice/src/carddatabase.cpp
View file @
963e8f0d
...
...
@@ -238,7 +238,7 @@ void PictureLoadingThread::run()
pictureLoader
->
setPicsPath
(
picsPath
);
pictureLoader
->
setPicDownload
(
picDownload
);
usleep
(
100
);
usleep
(
100
00
);
initWaitCondition
.
wakeAll
();
exec
();
...
...
cockatrice/src/main.cpp
View file @
963e8f0d
...
...
@@ -73,11 +73,11 @@ int main(int argc, char *argv[])
#ifdef Q_OS_MAC
QDir
baseDir
(
app
.
applicationDirPath
());
baseDir
.
cdUp
();
baseDir
.
cdUp
();
baseDir
.
cdUp
();
QDir
pluginsDir
=
baseDir
;
pluginsDir
.
cd
(
"PlugIns"
);
app
.
addLibraryPath
(
pluginsDir
.
absolutePath
());
baseDir
.
cdUp
();
baseDir
.
cdUp
();
#endif
#ifdef Q_OS_WIN
app
.
addLibraryPath
(
app
.
applicationDirPath
()
+
"/plugins"
);
...
...
@@ -116,7 +116,9 @@ int main(int argc, char *argv[])
}
if
(
startMainProgram
)
{
qDebug
(
"main(): starting main program"
);
soundEngine
=
new
SoundEngine
;
qDebug
(
"main(): SoundEngine constructor finished"
);
MainWindow
ui
;
qDebug
(
"main(): MainWindow constructor finished"
);
...
...
@@ -130,6 +132,7 @@ int main(int argc, char *argv[])
app
.
exec
();
}
qDebug
(
"Event loop finished, terminating..."
);
delete
db
;
delete
settingsCache
;
delete
rng
;
...
...
cockatrice/src/window_deckeditor.cpp
View file @
963e8f0d
...
...
@@ -395,7 +395,7 @@ void WndDeckEditor::actPrintDeck()
void
WndDeckEditor
::
actEditSets
()
{
WndSets
*
w
=
new
WndSets
(
this
)
;
WndSets
*
w
=
new
WndSets
;
w
->
setWindowModality
(
Qt
::
WindowModal
);
w
->
show
();
}
...
...
oracle/oracle.pro
View file @
963e8f0d
...
...
@@ -10,6 +10,7 @@ HEADERS += src/oracleimporter.h src/window_main.h ../cockatrice/src/carddatabase
SOURCES
+=
src
/
main
.
cpp
src
/
oracleimporter
.
cpp
src
/
window_main
.
cpp
..
/
cockatrice
/
src
/
carddatabase
.
cpp
..
/
cockatrice
/
src
/
settingscache
.
cpp
macx
{
CONFIG
+=
x86
ppc
#
CONFIG
+=
x86
ppc
CONFIG
+=
x86_64
release
LIBS
+=
-
bind_at_load
}
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