summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius da Costa Ribas <andriusmao@gmail.com>2012-05-27 11:55:05 -0300
committerAndrius da Costa Ribas <andriusmao@gmail.com>2012-05-27 11:55:05 -0300
commit6ac65c1c1a93c4041db581f5b8bdb68b6c45920f (patch)
tree944b1abec8f1ef70f9b2392de8feb049f17612f9
parentApplication shortcut clean up (diff)
downloadrekonq-6ac65c1c1a93c4041db581f5b8bdb68b6c45920f.tar.xz
ASSERT_NOT_REACHED macro parameter cannot be empty on MSVC.
-rw-r--r--src/application.cpp2
-rw-r--r--src/bookmarks/bookmarkowner.cpp2
-rw-r--r--src/webpage.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 02e13c72..9f99abb8 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -688,7 +688,7 @@ void Application::updateConfiguration()
break;
default: // non extant case
- ASSERT_NOT_REACHED();
+ ASSERT_NOT_REACHED(unknown hoveringTabOption);
break;
}
diff --git a/src/bookmarks/bookmarkowner.cpp b/src/bookmarks/bookmarkowner.cpp
index be28448c..141807ca 100644
--- a/src/bookmarks/bookmarkowner.cpp
+++ b/src/bookmarks/bookmarkowner.cpp
@@ -96,7 +96,7 @@ KAction* BookmarkOwner::createAction(const KBookmark &bookmark, const BookmarkAc
return createAction(i18n("Unset this folder as the toolbar folder"), "bookmark-toolbar",
"", SLOT(unsetToolBarFolder()), bookmark);
default:
- ASSERT_NOT_REACHED();
+ ASSERT_NOT_REACHED(unknown BookmarkAction);
return 0;
}
}
diff --git a/src/webpage.cpp b/src/webpage.cpp
index ff993121..bc4d0aa9 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -269,7 +269,7 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
break;
default:
- ASSERT_NOT_REACHED();
+ ASSERT_NOT_REACHED(unknown NavigationType);
break;
}
}