From e7482b08370a87941f8d100d1f833f2128cb901c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 28 Oct 2016 20:47:42 +0300 Subject: Add missing consts references. --- src/gui/windows/questswindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows') diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp index c35bb80b1..c8ce4246e 100644 --- a/src/gui/windows/questswindow.cpp +++ b/src/gui/windows/questswindow.cpp @@ -478,7 +478,7 @@ void QuestsWindow::showQuest(const QuestItem *const quest) const std::string var1 = toString(var.var1); const std::string var2 = toString(var.var2); const std::string var3 = toString(var.var3); - const std::string timeStr = timeDiffToString(var.time1).c_str(); + const std::string timeStr = timeDiffToString(var.time1); mText->clearRows(); FOR_EACH (std::vector::const_iterator, it, texts) { -- cgit v1.2.3-70-g09d2