summaryrefslogtreecommitdiffstats
path: root/kdesktop/bgmanager.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-24 19:21:48 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-24 19:21:48 -0500
commit30617b6fb78c56e76aedd1480429dd4e68da201a (patch)
tree446b6177c509bd2d9414730179a66f862df9a1c3 /kdesktop/bgmanager.cc
parent073dc86aceaa060597d7653747c3c6c14d0ed59d (diff)
downloadtdebase-30617b6fb78c56e76aedd1480429dd4e68da201a.tar.gz
tdebase-30617b6fb78c56e76aedd1480429dd4e68da201a.zip
Fix SAK dialog momentary display when SAK disabled
Clean up build warnings in kdesktop
Diffstat (limited to 'kdesktop/bgmanager.cc')
-rw-r--r--kdesktop/bgmanager.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdesktop/bgmanager.cc b/kdesktop/bgmanager.cc
index b36219692..278f267d5 100644
--- a/kdesktop/bgmanager.cc
+++ b/kdesktop/bgmanager.cc
@@ -125,7 +125,7 @@ KBackgroundManager::KBackgroundManager(TQWidget *desktop, KWinModule* twinModule
if (m_numberOfViewports < 1) {
m_numberOfViewports = 1;
}
- for (unsigned j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
+ for (signed j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
renderBackground(j);
}
}
@@ -250,7 +250,7 @@ void KBackgroundManager::configure()
if (m_numberOfViewports < 1) {
m_numberOfViewports = 1;
}
- for (unsigned j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
+ for (signed j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
renderBackground(j);
}
}
@@ -350,7 +350,7 @@ void KBackgroundManager::slotChangeDesktop(int desk)
desk--;
// Lazy initialisation of # of desktops
- if ((m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
+ if ((unsigned)(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
slotChangeNumberOfDesktops( m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);
int edesk = effectiveDesktop();
@@ -410,7 +410,7 @@ void KBackgroundManager::slotChangeViewport(int desk, const TQPoint& viewport)
desk--;
// Lazy initialisation of # of desktops
- if ((m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
+ if ((unsigned)(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
slotChangeNumberOfDesktops( m_pKwinmodule->numberOfDesktops() * m_numberOfViewports );
int edesk = effectiveDesktop();
@@ -963,7 +963,7 @@ void KBackgroundManager::desktopResized()
if (m_numberOfViewports < 1) {
m_numberOfViewports = 1;
}
- for (unsigned j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
+ for (signed j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
renderBackground(j);
}
}