Ver Fonte

Small changes

Kandrashin Denis há 13 anos atrás
pai
commit
a19da1feed
1 ficheiros alterados com 2 adições e 3 exclusões
  1. 2 3
      source/fb2view.cpp

+ 2 - 3
source/fb2view.cpp

@@ -298,9 +298,8 @@ void Fb2WebView::insertImage()
 
 void Fb2WebView::insertNote()
 {
-    Fb2NoteDlg * dlg = new Fb2NoteDlg(*this);
-    dlg->setModal(true);
-    dlg->show();
+    Fb2NoteDlg dlg(*this);
+    dlg.exec();
 }
 
 void Fb2WebView::insertLink()