From: Oppilas Date: Tue, 13 Apr 2010 07:40:00 +0000 (+0300) Subject: Bugfix: category dublicates X-Git-Tag: help~24 X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=commitdiff_plain;h=d5c15a9ac385ec6cd81ff9b42cb9d363b0a9bc84 Bugfix: category dublicates --- diff --git a/Client/Graphics/start.gif b/Client/Graphics/start.gif new file mode 100644 index 0000000..fd8ba3d Binary files /dev/null and b/Client/Graphics/start.gif differ diff --git a/Client/graphics.qrc b/Client/graphics.qrc index 58153b5..4cbbf3a 100644 --- a/Client/graphics.qrc +++ b/Client/graphics.qrc @@ -2,10 +2,10 @@ Graphics/meter.png Graphics/satellite_vista.png - Graphics/route.png + Graphics/route.png Graphics/route_play.png Graphics/route_stop.png - Graphics/route_new.png + Graphics/route_new.png Graphics/route_save.png Graphics/settings.png Graphics/trophy_gold.png @@ -14,6 +14,6 @@ Graphics/Speedometer2.png Graphics/info.png Graphics/speedfreak.png - + Graphics/start.gif diff --git a/Client/settingsdialog.ui b/Client/settingsdialog.ui index 0ce677d..772f5f3 100644 --- a/Client/settingsdialog.ui +++ b/Client/settingsdialog.ui @@ -7,7 +7,7 @@ 0 0 800 - 480 + 360 @@ -30,7 +30,7 @@ 10 - 180 + 190 371 31 @@ -61,7 +61,7 @@ 10 - 20 + 0 271 31 @@ -91,36 +91,48 @@ - 10 - 50 - 491 - 121 + 40 + 220 + 401 + 101 - + - + - New username: + Username: - + + + + Bitstream Charter + 8 + + 12 - + - New password: + Password: - + + + + Bitstream Charter + 8 + + 255 @@ -129,55 +141,66 @@ - - - - Email: - - - - - - - 255 - - - - + 10 - 210 - 491 - 81 + 320 + 501 + 41 - + + + + + + + + 40 + 28 + 401 + 151 + + + - + - Username: + New username: - + + + + Bitstream Charter + 8 + + 12 - + - Password: + New password: - + + + + Bitstream Charter + 8 + + 255 @@ -186,22 +209,39 @@ + + + + Email: + + + + + + + + Bitstream Charter + 8 + + + + 255 + + + - - - - 10 - 310 - 521 - 51 - - - - - - + + regUserNameLineEdit + regPasswordLineEdit + regEMailLineEdit + registratePushButton + setUserUsernameLineEdit + setUserPasswordLineEdit + setUserPushButton + pushButtonHelp + diff --git a/Client/start.gif b/Client/start.gif deleted file mode 100644 index fd8ba3d..0000000 Binary files a/Client/start.gif and /dev/null differ diff --git a/Client/topresultdialog.cpp b/Client/topresultdialog.cpp index 245646f..02bbbdc 100644 --- a/Client/topresultdialog.cpp +++ b/Client/topresultdialog.cpp @@ -1,3 +1,12 @@ +/* + * Topresultdialog + * + * @author Olavi Pulkkinen + * @author Toni Jussila + * @copyright (c) 2010 Speed Freak team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + */ + #include #include "topresultdialog.h" #include "ui_topresultdialog.h" @@ -33,6 +42,8 @@ void TopResultDialog::changeEvent(QEvent *e) void TopResultDialog::on_buttonTopRefresh_clicked() { + ui->labelTopList->clear(); + ui->comboBoxTopCategory->clear(); emit refreshCategoryList(); } @@ -63,6 +74,7 @@ int TopResultDialog::getLimitNr() void TopResultDialog::on_comboBoxTopCategory_currentIndexChanged(int index) { + ui->labelTopList->clear(); recentCategoryIndex = index; emit refreshTopList(index); } diff --git a/Client/topresultdialog.h b/Client/topresultdialog.h index 8fad9e8..dc49076 100644 --- a/Client/topresultdialog.h +++ b/Client/topresultdialog.h @@ -1,3 +1,12 @@ +/* + * Topresultdialog + * + * @author Olavi Pulkkinen + * @author Toni Jussila + * @copyright (c) 2010 Speed Freak team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + */ + #ifndef TOPRESULTDIALOG_H #define TOPRESULTDIALOG_H diff --git a/Client/welcomedialog.cpp b/Client/welcomedialog.cpp index 871ccfc..f2b3c7e 100644 --- a/Client/welcomedialog.cpp +++ b/Client/welcomedialog.cpp @@ -19,7 +19,7 @@ WelcomeDialog::WelcomeDialog(QWidget *parent) : { ui->setupUi(this); this->setWindowTitle(" "); - movie = new QMovie("start.gif"); + movie = new QMovie("Graphics/start.gif"); ui->labelWelcome->setMovie(movie); movie->start(); connect(movie,SIGNAL(frameChanged(int)),this,SLOT(stop(int)));