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

List:       kde-commits
Subject:    kdenetwork/kget
From:       Pino Toscano <toscano.pino () tiscali ! it>
Date:       2005-03-21 14:22:08
Message-ID: 20050321142208.3BB255DA () office ! kde ! org
[Download RAW message or body]

CVS commit by pino: 

Just two small improvements...


  M +3 -3      logwindow.cpp   1.16


--- kdenetwork/kget/logwindow.cpp  #1.15:1.16
@@ -82,5 +82,5 @@ SeparatedLog::SeparatedLog(QWidget * par
     idSelected = 0;
 
-    QGridLayout *topGridLayout = new QGridLayout(this, 1, 2, 20, \
KDialog::spacingHint()); +    QGridLayout *topGridLayout = new QGridLayout(this, 1, \
2, 0, KDialog::spacingHint());  
     topGridLayout->setRowStretch(0, 5);
@@ -201,5 +201,5 @@ void LogWindow::logTransfer(uint id, con
     QString mixed_msg, single_msg, job_id;
 
-    job_id.sprintf("Job[<font color=\"red\">%d</font>] : ", id);
+    job_id = QString("Job[<font color=\"red\">%1</font>] : ").arg(id);
     mixed_msg = "<font color=\"blue\">" + QTime::currentTime().toString() + "</font> \
: " + job_id + message;  


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

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