aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_sound.cpp
diff options
context:
space:
mode:
authorGravatar Robert Förster2009-09-01 22:12:36 +0000
committerGravatar Robert Förster2009-09-01 22:12:36 +0000
commitea06d9bbbd8d8ef75034bfc3f62838f193537984 (patch)
treea437eeabaa4b3d09f3313a6b0dd07b5bb961749d /src/modules/options/optw_sound.cpp
parentupdated splash screen (diff)
downloadKVIrc-ea06d9bbbd8d8ef75034bfc3f62838f193537984.tar.gz
KVIrc-ea06d9bbbd8d8ef75034bfc3f62838f193537984.tar.bz2
KVIrc-ea06d9bbbd8d8ef75034bfc3f62838f193537984.zip
- trailing whitespace cleanups all over the place
- removed charset dependent manpages since it really makes no sense to distribute them, they are getting installed in non standard places and one manpage per language is enough - added SpotChat to the serverdb, happens to be my network anyway :P (someone should remind me to check all the networks and servers there so we can do a cleanup if needed git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3463 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/options/optw_sound.cpp')
-rw-r--r--src/modules/options/optw_sound.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/options/optw_sound.cpp b/src/modules/options/optw_sound.cpp
index c8079976f..6dc85013e 100644
--- a/src/modules/options/optw_sound.cpp
+++ b/src/modules/options/optw_sound.cpp
@@ -103,7 +103,7 @@ KviSoundGeneralOptionsWidget::KviSoundGeneralOptionsWidget(QWidget * parent)
int i = 0;
int iMatch = 0;
-
+
KviLocale::EncodingDescription * d = KviLocale::encodingDescription(i);
while(d->szName)
{
@@ -122,11 +122,11 @@ KviSoundGeneralOptionsWidget::KviSoundGeneralOptionsWidget(QWidget * parent)
h = new KviTalHBox(g);
m_pWinampEncodingCombo = new QComboBox(h);
-
+
m_pWinampEncodingCombo->addItem(__tr2qs_ctx("Use Language Encoding","options"));
i = 0;
iMatch = 0;
-
+
d = KviLocale::encodingDescription(i);
while(d->szName)
{
@@ -253,7 +253,7 @@ void KviSoundGeneralOptionsWidget::commit()
KviOptionsWidget::commit();
KVI_OPTION_STRING(KviOption_stringSoundSystem) = m_pSoundSystemBox->currentText();
KVI_OPTION_STRING(KviOption_stringPreferredMediaPlayer) = m_pMediaPlayerBox->currentText();
-
+
int idx = m_pTagsEncodingCombo->currentIndex();
if(idx <= 0)
{
@@ -283,18 +283,18 @@ KviSoundsOptionsWidget::KviSoundsOptionsWidget(QWidget * parent)
createLayout();
addLabel(0,0,0,0,__tr2qs_ctx("New Query opened","options"));
addSoundSelector(1,0,1,0,"",KviOption_stringOnNewQueryOpenedSound);
-
+
addLabel(0,1,0,1,__tr2qs_ctx("New message in inactive query","options"));
addSoundSelector(1,1,1,1,"",KviOption_stringOnQueryMessageSound);
-
+
addLabel(0,2,0,2,__tr2qs_ctx("Highlighted message in inactive window","options"));
addSoundSelector(1,2,1,2,"",KviOption_stringOnHighlightedMessageSound);
-
+
addLabel(0,3,0,3,__tr2qs_ctx("Me have been kicked","options"));
addSoundSelector(1,3,1,3,"",KviOption_stringOnMeKickedSound);
-
+
addRowSpacer(0,4,1,4);
-
+
}
KviSoundsOptionsWidget::~KviSoundsOptionsWidget()