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
e0383af6
Commit
e0383af6
authored
Sep 22, 2015
by
Fabio Bas
Browse files
workaround "Signals are protected in qt4"
parent
ac16602f
Changes
2
Show whitespace changes
Inline
Side-by-side
cockatrice/src/carddatabase.h
View file @
e0383af6
...
...
@@ -137,6 +137,7 @@ public:
void
setCustomPicURL
(
const
QString
&
_set
,
const
QString
&
_customPicURL
)
{
customPicURLs
.
insert
(
_set
,
_customPicURL
);
}
void
setMuId
(
const
QString
&
_set
,
const
int
&
_muId
)
{
muIds
.
insert
(
_set
,
_muId
);
}
void
addToSet
(
CardSet
*
set
);
void
emitPixmapUpdated
()
{
emit
pixmapUpdated
();
}
/**
* Simplify a name to have no punctuation and lowercase all letters, for
...
...
cockatrice/src/pictureloader.cpp
View file @
e0383af6
...
...
@@ -415,7 +415,7 @@ void PictureLoader::imageLoaded(CardInfo *card, const QImage &image)
QPixmapCache
::
insert
(
card
->
getPixmapCacheKey
(),
QPixmap
::
fromImage
(
image
));
}
emit
card
->
p
ixmapUpdated
();
card
->
emitP
ixmapUpdated
();
}
void
PictureLoader
::
clearPixmapCache
(
CardInfo
*
card
)
...
...
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