From 0d4f841d0a35f7515f91edd275d167d68085c27a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 28 Jan 2013 17:01:54 +0000 Subject: fixed build error git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3189 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/scrobbler/settingsdialog.cpp | 5 ++++- .../General/scrobbler/translations/scrobbler_plugin_cs.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_de.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_es.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_fr.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_he.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_hu.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_it.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_ja.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_kk.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_lt.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_nl.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_pl_PL.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_pt_BR.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_ru.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_sk.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_tr.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_uk_UA.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_zh_CN.ts | 12 ++++++------ .../General/scrobbler/translations/scrobbler_plugin_zh_TW.ts | 12 ++++++------ 20 files changed, 118 insertions(+), 115 deletions(-) diff --git a/src/plugins/General/scrobbler/settingsdialog.cpp b/src/plugins/General/scrobbler/settingsdialog.cpp index 38d832af4..29ff3b8b5 100644 --- a/src/plugins/General/scrobbler/settingsdialog.cpp +++ b/src/plugins/General/scrobbler/settingsdialog.cpp @@ -87,11 +87,14 @@ void SettingsDialog::processSessionResponse(int error) switch(error) { case LastfmAuth::NO_ERROR: + { QMessageBox::information(this, tr("Message"), tr("New session has been received successfully.")); m_ui.sessionLineEdit_lastfm->setText(m_lastfmAuth->session()); + QSettings settings(Qmmp::configFile(), QSettings::IniFormat); - settings.setValue("lastfm_session",m_ui.sessionLineEdit_lastfm->text()); + settings.setValue("Scrobbler/lastfm_session",m_ui.sessionLineEdit_lastfm->text()); break; + } case LastfmAuth::NETWORK_ERROR: QMessageBox::warning(this, tr("Error"), tr("Network error.")); break; diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_cs.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_cs.ts index a53d12660..b17abc378 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_cs.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_cs.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_de.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_de.ts index 569c07383..2f56a1cc3 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_de.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_de.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_es.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_es.ts index a1d266b6f..9b64ebb9b 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_es.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_es.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_fr.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_fr.ts index 67464fcfc..bbd3fc1fe 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_fr.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_fr.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_he.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_he.ts index 1e0faf77f..58899a1e2 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_he.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_he.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_hu.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_hu.ts index 49608c89d..af8701b82 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_hu.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_hu.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_it.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_it.ts index 573a4fc50..d01e36acd 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_it.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_it.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_ja.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_ja.ts index e8e47274f..f1b00167f 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_ja.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_ja.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_kk.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_kk.ts index 306d7503a..168e9af30 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_kk.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_kk.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_lt.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_lt.ts index 0b387bc19..40f010a8a 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_lt.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_lt.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_nl.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_nl.ts index 0fca1d001..35b8cad4e 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_nl.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_nl.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_pl_PL.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_pl_PL.ts index 5f9407c96..0a6d44800 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_pl_PL.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_pl_PL.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_pt_BR.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_pt_BR.ts index 25d7f8702..2f2bfca98 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_pt_BR.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_pt_BR.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_ru.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_ru.ts index 4b3f6a44c..a8440accf 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_ru.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_ru.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_sk.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_sk.ts index c137c0474..2a2422a58 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_sk.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_sk.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_tr.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_tr.ts index 4a650cb50..9043e17b8 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_tr.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_tr.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_uk_UA.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_uk_UA.ts index f42f7d407..8cf0f2a47 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_uk_UA.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_uk_UA.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_zh_CN.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_zh_CN.ts index 3938d7623..a37c06438 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_zh_CN.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_zh_CN.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. diff --git a/src/plugins/General/scrobbler/translations/scrobbler_plugin_zh_TW.ts b/src/plugins/General/scrobbler/translations/scrobbler_plugin_zh_TW.ts index f171a8ebb..bb3631cde 100644 --- a/src/plugins/General/scrobbler/translations/scrobbler_plugin_zh_TW.ts +++ b/src/plugins/General/scrobbler/translations/scrobbler_plugin_zh_TW.ts @@ -68,7 +68,7 @@ - + Message @@ -90,25 +90,25 @@ - - + + Error - + Network error. - + Unable to register new session. - + New session has been received successfully. -- cgit v1.2.3-13-gbd6f