Fixed bug: Changing the conference URL resulted in an error message.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 21 Aug 2012 21:02:51 +0000 (21:02 +0000)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 21 Aug 2012 21:02:51 +0000 (21:02 +0000)
src/gui/conferenceeditor.cpp

index 718999c..bfb73ea 100644 (file)
@@ -150,7 +150,7 @@ void ConferenceEditor::refreshClicked()
     if (url.isEmpty()) {
         static const QString format("Schedule URL for %1 is not set. Enter the schedule URL:");
         bool ok;
-        QString url = QInputDialog::getText(this, "URL Input", format.arg(selectedConf.title()), QLineEdit::Normal, QString(), &ok);
+        url = QInputDialog::getText(this, "URL Input", format.arg(selectedConf.title()), QLineEdit::Normal, QString(), &ok);
         if (!ok) return;
         // first save it, to remain if fetch fails
         emit changeUrlRequested(selected_id, url);