projects
/
impuzzle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Save and restore
[impuzzle]
/
src
/
settings.cpp
diff --git
a/src/settings.cpp
b/src/settings.cpp
index
62801af
..
93af8ba
100644
(file)
--- a/
src/settings.cpp
+++ b/
src/settings.cpp
@@
-8,6
+8,7
@@
Settings::Settings(QObject *parent) :
{
pieceCount_ = EASY_PIECE_COUNT;
image_ = 0;
{
pieceCount_ = EASY_PIECE_COUNT;
image_ = 0;
+ imagePath_ = "";
}
Settings *Settings::instance()
}
Settings *Settings::instance()
@@
-38,3
+39,13
@@
void Settings::setImage(const QPixmap &image)
{
image_ = image;
}
{
image_ = image;
}
+
+QString Settings::imagePath() const
+{
+ return imagePath_;
+}
+
+void Settings::setImagePath(const QString &path)
+{
+ imagePath_ = path;
+}