File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,24 +28,24 @@ MainWin::MainWin(QWidget *parent)
2828 ui.setupUi (this );
2929
3030 initRedisClient ();
31+ initSystemConsole ();
3132
3233 QDesktopWidget* desktop = QApplication::desktop ();
3334 QRect scr = desktop->screenGeometry ();
3435
3536 /* Smart resize on big screens */
36- qDebug ( ) << " Current ratio width:" << geometry ().width ()/(float )scr.width ();
37- qDebug ( ) << " Current ratio height:" << geometry ().height ()/(float )scr.height ();
37+ LOG (DEBUG ) << " Current ratio width:" << geometry ().width ()/(float )scr.width ();
38+ LOG (DEBUG ) << " Current ratio height:" << geometry ().height ()/(float )scr.height ();
3839 float minimumRatioW = 0.5 ;
3940 float minimumRatioH = 0.7 ;
4041 if (geometry ().width ()/(float )scr.width () < minimumRatioW) {
41- qDebug ( ) << " Resize main window" ;
42+ LOG (DEBUG ) << " Resize main window" ;
4243 setGeometry (geometry ().x (), geometry ().y (),
4344 (int )(scr.width () * minimumRatioW),
4445 (int )(scr.height () * minimumRatioH));
4546 }
4647 move (scr.center () - rect ().center ());
4748
48- initSystemConsole ();
4949 initConnectionsTreeView ();
5050 initContextMenus ();
5151 initFormButtons ();
You can’t perform that action at this time.
0 commit comments