aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/list/ListWindow.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2016-02-11 04:33:11 +0000
committerGravatar un1versal2016-02-27 10:47:52 +0000
commitf41c1f2868ee7d318b29e4c076db45a8b0346b3d (patch)
tree62f05c4fb396a2361c457b9d0ee68385b1eed2b0 /src/modules/list/ListWindow.cpp
parentstatusbarapplet: update tootip add space between double-click and main text (diff)
downloadKVIrc-f41c1f2868ee7d318b29e4c076db45a8b0346b3d.tar.gz
KVIrc-f41c1f2868ee7d318b29e4c076db45a8b0346b3d.tar.bz2
KVIrc-f41c1f2868ee7d318b29e4c076db45a8b0346b3d.zip
QMessageBox/setWindowTitle: fix headers titles: capitalization, syntax + try to improve entries
+ add window title to find and replace dialog
Diffstat (limited to 'src/modules/list/ListWindow.cpp')
-rw-r--r--src/modules/list/ListWindow.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/modules/list/ListWindow.cpp b/src/modules/list/ListWindow.cpp
index 5f41de6f4..748c82523 100644
--- a/src/modules/list/ListWindow.cpp
+++ b/src/modules/list/ListWindow.cpp
@@ -348,7 +348,9 @@ QSize ListWindow::sizeHint() const
void ListWindow::fillCaptionBuffers()
{
- m_szPlainTextCaption = QString(__tr2qs("Channel list [IRC context %1]")).arg(m_pConsole->context()->id()); //this is a tooltip
+ //this both a tooltip and a window title, capitalization rules be dammed
+ //should be separated titles and tooltips
+ m_szPlainTextCaption = QString(__tr2qs("Channel List [IRC Context %1]")).arg(m_pConsole->context()->id());
}
void ListWindow::die()
@@ -389,7 +391,7 @@ void ListWindow::exportList()
szFile = __tr2qs("Channel list");
}
- if(KviFileDialog::askForSaveFileName(szFile,__tr2qs("Choose Filename"),szFile,__tr2qs("Configuration files (*.kvc)"),false,false,true,this))
+ if(KviFileDialog::askForSaveFileName(szFile,__tr2qs("Enter a Filename - KVIrc"),szFile,__tr2qs("Configuration files (*.kvc)"),false,false,true,this))
{
if(QFileInfo(szFile).completeSuffix() != "kvc")
szFile.append(".kvc");
@@ -413,7 +415,7 @@ void ListWindow::importList()
{
QString szFile;
- if(KviFileDialog::askForOpenFileName(szFile,__tr2qs("Choose Filename"),QString(),KVI_FILTER_CONFIG,false,false,this))
+ if(KviFileDialog::askForOpenFileName(szFile,__tr2qs("Select a File - KVIrc"),QString(),KVI_FILTER_CONFIG,false,false,this))
{
m_pItemList->setAutoDelete(true);