Fix a bug that makes an object re-initial.
authorNguyễn Hồng Quân <ng.hong.quan@gmail.com>
Wed, 14 Nov 2012 07:43:55 +0000 (14:43 +0700)
committerNguyễn Hồng Quân <ng.hong.quan@gmail.com>
Wed, 14 Nov 2012 07:43:55 +0000 (14:43 +0700)
mainwindow.cpp

index 2496c75..9e227d4 100644 (file)
@@ -194,7 +194,7 @@ void MainWindow::startLookup()
 #ifndef QT_NO_DEBUG
         qDebug() << "   START getConjugation " << timer.elapsed();
 #endif
 #ifndef QT_NO_DEBUG
         qDebug() << "   START getConjugation " << timer.elapsed();
 #endif
-        getConjugation(freVerbDic, d.infinitive, d.templateName, conjug,
+        getConjugation(*freVerbDic, d.infinitive, d.templateName, conjug,
                #ifndef QT_NO_DEBUG
                        timer,
                #endif
                #ifndef QT_NO_DEBUG
                        timer,
                #endif