Correcting bugs. Previous way didn't really worked at all
diff --git a/chatdialog.h b/chatdialog.h
index 69cfcfb..f0c58c2 100644
--- a/chatdialog.h
+++ b/chatdialog.h
@@ -64,7 +64,6 @@
   QString formatTime(time_t);
   void printTimeInCell(QTextTable *, time_t);
   void disableTreeDisplay();
-  void getLocalPrefix();
 
 private slots:
   void returnPressed();
@@ -78,6 +77,7 @@
   void replot();
   void updateRosterList(QStringList);
   void enableTreeDisplay();
+  void getLocalPrefix();
 
   // icon related
   void iconActivated(QSystemTrayIcon::ActivationReason reason);