浏览代码

Small changes

Kandrashin Denis 13 年之前
父节点
当前提交
a19da1feed
共有 1 个文件被更改,包括 2 次插入3 次删除
  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()