summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.exebin856064 -> 535040 bytes
-rw-r--r--src/gui/styles/qs60style_simulated.cpp19
-rw-r--r--tools/configure/configureapp.cpp4
3 files changed, 21 insertions, 2 deletions
diff --git a/configure.exe b/configure.exe
index 5710503..30383d8 100755
--- a/configure.exe
+++ b/configure.exe
Binary files differ
diff --git a/src/gui/styles/qs60style_simulated.cpp b/src/gui/styles/qs60style_simulated.cpp
index 17c1ebe..5a88f9a 100644
--- a/src/gui/styles/qs60style_simulated.cpp
+++ b/src/gui/styles/qs60style_simulated.cpp
@@ -191,6 +191,25 @@ QVariant QS60StylePrivate::styleProperty_specific(const char *name) const
return styleProperty(name);
}
+QPixmap QS60StylePrivate::backgroundTexture()
+{
+ static QPixmap result;
+ // Poor mans caching. + Making sure that there is always only one background image in memory at a time
+
+/*
+ TODO: 1) Hold the background QPixmap as pointer in a static class member.
+ Also add a deleteBackground() function and call that in ~QS60StylePrivate()
+ 2) Don't cache the background at all as soon as we have native pixmap support
+*/
+
+ if (!m_backgroundValid) {
+ result = QPixmap();
+ result = part(QS60StyleEnums::SP_QsnBgScreen, QApplication::activeWindow()->size());
+ m_backgroundValid = true;
+ }
+ return result;
+}
+
bool QS60StylePrivate::isTouchSupported()
{
#ifdef QT_KEYPAD_NAVIGATION
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 2c20d51..a879e5d 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -1886,14 +1886,14 @@ bool Configure::checkAvailability(const QString &part)
else if (part == "SQL_DB2")
available = findFile("sqlcli.h") && findFile("sqlcli1.h") && findFile("db2cli.lib");
else if (part == "SQL_SQLITE")
- if (dictionary["XQMAKESPEC"].startsWith("symbian"))
+ if (dictionary.contains("XQMAKESPEC") && dictionary["XQMAKESPEC"].startsWith("symbian"))
available = false; // In Symbian we only support system sqlite option
else
available = true; // Built in, we have a fork
else if (part == "SQL_SQLITE_LIB") {
if (dictionary[ "SQL_SQLITE_LIB" ] == "system") {
// Symbian has multiple .lib/.dll files we need to find
- if (dictionary["XQMAKESPEC"].startsWith("symbian")) {
+ if (dictionary.contains("XQMAKESPEC") && dictionary["XQMAKESPEC"].startsWith("symbian")) {
available = true; // There is sqlite_symbian plugin which exports the necessary stuff
dictionary[ "QT_LFLAGS_SQLITE" ] += "-lsqlite3";
} else {