summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-18 20:13:23 +0200
committerSlávek Banko <[email protected]>2016-09-18 20:16:12 +0200
commit0a78c9adbf4ec3cf77bad3a803706a10cc07b432 (patch)
treeb7d5f2e0bc882ee7225879bb3cb58dfd420aa209 /src/mainwindow.cpp
parent024330fca86b8ab53d7dd7e7d05206cdc99807a2 (diff)
downloadtellico-0a78c9adbf4ec3cf77bad3a803706a10cc07b432.tar.gz
tellico-0a78c9adbf4ec3cf77bad3a803706a10cc07b432.zip
Fix build with KDE_DEFAULT_CXXFLAGS
Fix FTBFS with GCC6 Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 5eb938208e3ef0f9c2d8aecde27d03cd4564e255)
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 04f3c56..55312b5 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2386,7 +2386,7 @@ bool MainWindow::importCollection(Data::CollPtr coll_, Import::Action action_) {
void MainWindow::slotURLAction(const KURL& url_) {
Q_ASSERT(url_.protocol() == Latin1Literal("tc"));
TQString actionName = url_.fileName();
- TDEAction* action = this->action(actionName);
+ TDEAction* action = this->action(actionName.ascii());
if(action) {
action->activate();
} else {