diff options
| author | 2016-02-23 09:42:20 +0000 | |
|---|---|---|
| committer | 2016-02-27 10:47:53 +0000 | |
| commit | d1a13437e2d26868981b2e3ef47284aba2fe424f (patch) | |
| tree | 753c240475e2991c7d52232435d8c31b7295d713 /src/modules/list | |
| parent | QMessageBox/setWindowTitle: fix headers titles: capitalization, syntax + try ... (diff) | |
| download | KVIrc-d1a13437e2d26868981b2e3ef47284aba2fe424f.tar.gz KVIrc-d1a13437e2d26868981b2e3ef47284aba2fe424f.tar.bz2 KVIrc-d1a13437e2d26868981b2e3ef47284aba2fe424f.zip | |
ListWindow: add title to export empty list dialog warning
Diffstat (limited to 'src/modules/list')
| -rw-r--r-- | src/modules/list/ListWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/list/ListWindow.cpp b/src/modules/list/ListWindow.cpp index 748c82523..4ecc0e729 100644 --- a/src/modules/list/ListWindow.cpp +++ b/src/modules/list/ListWindow.cpp @@ -39,7 +39,6 @@ #include "KviTopicWidget.h" #include "KviConfigurationFile.h" #include "KviFileDialog.h" -#include "KviMessageBox.h" #include "kvi_fileextensions.h" #include "KviTalHBox.h" #include "KviHtmlGenerator.h" @@ -52,6 +51,7 @@ #include <QToolTip> #include <QDateTime> #include <QByteArray> +#include <QMessageBox> extern KviPointerList<ListWindow> * g_pListWindowList; @@ -362,7 +362,7 @@ void ListWindow::exportList() { if(!m_pTreeWidget->topLevelItemCount()) { - KviMessageBox::warning(__tr2qs("You can't export an empty list")); + QMessageBox::warning(0, __tr2qs("Warning While Exporting - KVIrc"), __tr2qs("You can't export an empty list!")); return; } |
