[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/kmahjongg
From:       Mauricio Piacentini <piacentini () kde ! org>
Date:       2009-12-10 13:30:44
Message-ID: 1260451844.288583.31960.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1061016 by piacentini:

Accept bug 191282, apply first part of patch (change statusbar order)
CCMAIL:milamby@yahoo.com


 M  +10 -10    kmahjongg.cpp  


--- trunk/KDE/kdegames/kmahjongg/kmahjongg.cpp #1061015:1061016
@@ -188,12 +188,19 @@
 // ---------------------------------------------------------
 void KMahjongg::setupStatusBar()
 {
+    gameTimerLabel = new QLabel(i18n("Time: 0:00:00"), statusBar());
+    statusBar()->addWidget(gameTimerLabel);
+
+    QFrame* timerDivider = new QFrame(statusBar());
+    timerDivider->setFrameStyle(QFrame::VLine);
+    statusBar()->addWidget(timerDivider);
+
     tilesLeftLabel= new QLabel(i18n("Removed: 0000/0000"), statusBar());
     statusBar()->addWidget(tilesLeftLabel, 1);
 
-    QFrame* titleDivider = new QFrame(statusBar());
-    titleDivider->setFrameStyle(QFrame::VLine);
-    statusBar()->addWidget(titleDivider);
+    QFrame* tileDivider = new QFrame(statusBar());
+    tileDivider->setFrameStyle(QFrame::VLine);
+    statusBar()->addWidget(tileDivider);
 
     gameNumLabel = new QLabel(i18n("Game: 000000000000000000000"), statusBar());
     statusBar()->addWidget(gameNumLabel);
@@ -204,13 +211,6 @@
 
     statusLabel= new QLabel("Kmahjongg", statusBar());
     statusBar()->addWidget(statusLabel);
-
-    QFrame* statusDivider = new QFrame(statusBar());
-    statusDivider->setFrameStyle(QFrame::VLine);
-    statusBar()->addWidget(statusDivider);
-
-    gameTimerLabel = new QLabel(i18n("Time: 0:00:00"), statusBar());
-    statusBar()->addWidget(gameTimerLabel);
 }
 
 void KMahjongg::displayTime(const QString& timestring)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic