fix bugs for first-time user (no plist)
diff --git a/settingdialog.cpp b/settingdialog.cpp
index 8f0bbca..284b1a3 100644
--- a/settingdialog.cpp
+++ b/settingdialog.cpp
@@ -20,6 +20,12 @@
   QValidator *validator = new QRegExpValidator(rx, this);
   prefixEdit->setValidator(validator);
 
+  if (nick.isEmpty() && chatroom.isEmpty())
+  {
+    prefixEdit->hide();
+    prefixLabel->hide();
+  }
+
   okButton->setDefault(true);
 
   connect(cancelButton, SIGNAL(clicked()), this, SLOT(reject()));