diff options
author | Domrachev Alexandr <alexandr.domrachev@gmail.com> | 2009-06-18 23:03:47 +0400 |
---|---|---|
committer | Domrachev Alexandr <alexandr.domrachev@gmail.com> | 2009-06-18 23:03:47 +0400 |
commit | 2e7d5ea7f5f4dcb24a446fc112a80d1811a3ec14 (patch) | |
tree | ed9741ccb8dbaa646477fa327f2bd99285c17313 /src/mainwindow.cpp | |
parent | File filter fix in MainView::slotFileOpen dialog. (diff) | |
download | rekonq-2e7d5ea7f5f4dcb24a446fc112a80d1811a3ec14.tar.xz |
Some text reformatting
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 94411794..aed1ef9c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -476,7 +476,7 @@ void MainWindow::slotUpdateWindowTitle(const QString &title) void MainWindow::slotFileOpen() { QString filePath = KFileDialog::getOpenFileName(KUrl(), - i18n("*.html *.htm *.svg *.png *.gif *.svgz|Web Resources (*.html *.htm *.svg *.png *.gif *.svgz)\n"\ + i18n("*.html *.htm *.svg *.png *.gif *.svgz|Web Resources (*.html *.htm *.svg *.png *.gif *.svgz)\n" \ "*.*|All files (*.*)"), this, i18n("Open Web Resource")); @@ -704,8 +704,8 @@ void MainWindow::slotToggleInspector(bool enable) if (enable) { int result = KMessageBox::questionYesNo(this, - i18n("The web inspector will only work correctly for pages that were loaded after enabling.\n" - "Do you want to reload all pages?"), + i18n("The web inspector will only work correctly for pages that were loaded after enabling.\n" \ + "Do you want to reload all pages?"), i18n("Web Inspector") ); @@ -834,17 +834,16 @@ bool MainWindow::queryClose() int answer = KMessageBox::questionYesNoCancel( this, - i18np( "Are you sure you want to close the window?\n" - "You have 1 tab open", - "Are you sure you want to close the window?\n" - "You have %1 tabs open", - m_view->count()), - i18n("Are you sure you want to close the window?"), - KStandardGuiItem::quit(), - KGuiItem(i18n("C&lose Current Tab"), KIcon("tab-close")), - KStandardGuiItem::cancel(), - "confirmClosingMultipleTabs" - ); + i18np("Are you sure you want to close the window?\n" \ + "You have 1 tab open", + "Are you sure you want to close the window?\n" \ + "You have %1 tabs open", + m_view->count()), + i18n("Are you sure you want to close the window?"), + KStandardGuiItem::quit(), + KGuiItem(i18n("C&lose Current Tab"), KIcon("tab-close")), + KStandardGuiItem::cancel(), + "confirmClosingMultipleTabs"); switch (answer) { |